pkgname=dosfstools pkgver=4.2 pkgrel=2 pkgdesc="DOS filesystem utilities." arch=('x86_64') url="https://github.com/dosfstools/dosfstools/" license=('GPL3') depends=('glibc') checkdepends=('vim') source=("https://github.com/dosfstools/dosfstools/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz") md5sums=('49c8e457327dc61efab5b115a27b087a') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr \ --enable-compat-symlinks make } check() { cd ${pkgname}-${pkgver} make check } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} PREFIX=/usr MANDIR=/usr/share/man DOCDIR=/usr/share/doc install }