# Maintainer: Frederik Schwan # Contributor: rtfreedman tilfreedmang*a*lcom> pkgname=exfat-utils-nofuse pkgver=1.3.0 pkgrel=3 pkgdesc='Utilities for the exFAT file system without fuse (to prefer exfat kernel module over fuse)' arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h' 'arm' 'aarch64') url='https://github.com/relan/exfat' license=('GPL2') depends=('glibc') provides=('exfat-utils') conflicts=('fuse-exfat' 'exfat-utils' ) source=(exfat-${pkgver}.tar.gz::https://github.com/relan/exfat/archive/v${pkgver}.tar.gz) sha512sums=('fa3951e16889db65685e1fb71b0c75fc7014a8025c3442bf6164b94ddd51d282a8ae5e891c46195be53d2a10d62444e2fa1bb3fa3de59c2c3411c6dac363b488') prepare() { cd exfat-${pkgver} # build without fuse sed -i 's/fuse label mkfs/label mkfs/' Makefile.am sed -i '/fuse/d' configure.ac } build() { cd exfat-${pkgver} autoreconf -fiv ./configure --prefix=/usr --sbindir=/usr/bin make CCFLAGS="${CFLAGS} ${CPPFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}" } package() { cd exfat-${pkgver} make DESTDIR="${pkgdir}" install install -Dm 644 */*.8 -t "${pkgdir}/usr/share/man/man8" }