# Contributor: Valery Kartel # Maintainer: Natanael Copa setvar pkgname = 'fuse-exfat' setvar _pkgreal = 'exfat' setvar pkgver = '1.2.7' setvar pkgrel = '0' setvar pkgdesc = ""Free exFAT file system implementation"" setvar url = ""https://github.com/relan/exfat"" setvar arch = ""all"" setvar license = ""GPL2+"" setvar provides = "$_pkgreal" setvar depends = ""fuse"" setvar makedepends = ""autoconf automake fuse-dev"" setvar subpackages = ""$pkgname-doc $pkgname-utils"" setvar source = ""$_pkgreal-$pkgver.tar.gz::https://github.com/relan/$_pkgreal/archive/v$pkgver.tar.gz"" setvar builddir = ""$srcdir/$_pkgreal-$pkgver"" proc build { cd $builddir autoreconf --install ./configure --prefix=/usr make } proc package { cd $builddir make DESTDIR="$pkgdir" install } proc utils { setvar pkgdesc = ""$pkgdesc (utilities)"" setvar provides = ""$_pkgreal-utils"" mkdir -p "$subpkgdir"/usr/sbin local file; for file in $(find "$pkgdir"/usr/sbin ! -name "mount*" -a ! -type d) { mv $file "$subpkgdir"/${file#$pkgdir} } } setvar sha512sums = ""f90b1eff5c51ff93377f82f2838d214e0670a4a8c54fb7c0ec8ce743971b35867975568b8886e8fae8e320706419cf4e39d0852e68350c9b999cf0be4c5f88fc exfat-1.2.7.tar.gz""