# Description: tools for creating and checking DOS filesystems in linux
# URL: https://github.com/dosfstools/dosfstools
# Maintainer: Matt Housh, jaeger at crux dot ninja

name=dosfstools
version=4.2
release=1
source=(https://github.com/dosfstools/dosfstools/releases/download/v$version/$name-$version.tar.gz)

build() {
  cd $name-$version

  ./configure --prefix=/usr \
              --sbindir=/sbin \
              --enable-compat-symlinks

  make
  make DESTDIR=$PKG install

  rm -r $PKG/usr/share/doc
}
