pkgname=dosfstools pkgver=4.2 pkgrel=1 pkgdesc="DOS filesystem utilities" arch=('x86_64') url="https://github.com/dosfstools/dosfstools" license=('GPL-3.0-or-later') depends=('glibc') source=(https://github.com/dosfstools/dosfstools/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527) build() { cd ${pkgname}-${pkgver} local configure_args=( --enable-compat-symlinks --mandir=/usr/share/man --docdir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }