# Maintainer: A. Wilcox pkgname=exfat-utils pkgver=1.2.8 pkgrel=0 pkgdesc="Utilities for exFAT file system" url="https://github.com/relan/exfat" arch="all" license="GPL-2.0+" depends="" makedepends="" install="" subpackages="$pkgname-doc" source="https://github.com/relan/exfat/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz" build() { cd "$builddir" ./configure \ --prefix=/usr \ --sbindir=/usr/bin make CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}" } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install # Install man pages install -Dm444 dump/dumpexfat.8 "${pkgdir}/usr/share/man/man8/dumpexfat.8" install -m444 fsck/exfatfsck.8 "${pkgdir}/usr/share/man/man8" install -m444 mkfs/mkexfatfs.8 "${pkgdir}/usr/share/man/man8" install -m444 label/exfatlabel.8 "${pkgdir}/usr/share/man/man8" } sha512sums="98acebf74fe5f5181098cdd880303d6c78d5aa88aa7a87d5371c887e4614536b19a24d48526b235de034fad26b68ddaf4f286b68b5963e95cc1cf7cee1c7b58c exfat-utils-1.2.8.tar.gz"