Date: Friday, September 11, 2015 @ 08:10:19 Author: giovanni Revision: 139919
upgpkg: fuse-exfat 1.2.0-1 upstream release Modified: fuse-exfat/trunk/PKGBUILD ----------+ PKGBUILD | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-09-11 05:51:13 UTC (rev 139918) +++ PKGBUILD 2015-09-11 06:10:19 UTC (rev 139919) @@ -3,24 +3,33 @@ # Contributor: GaoShichao <[email protected]> pkgname=fuse-exfat -pkgver=1.1.0 +pkgver=1.2.0 pkgrel=1 pkgdesc="Free exFAT file system implementation" arch=('i686' 'x86_64') url="http://code.google.com/p/exfat/" -license=('GPL3') +license=('GPL2') depends=('fuse') -makedepends=('scons') +makedepends=('pkg-config') optdepends=('exfat-utils: utilities for exFAT file system' 'util-linux: to mount exFAT volumes automatically') -source=("http://pkgbuild.com/~giovanni/exfat/${pkgname}-${pkgver}.tar.gz") -md5sums=('b2a23c032661cb1c1da4514e7af33916') +source=("https://github.com/relan/exfat/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz") +md5sums=('352bdddfa3d8bbee5ffc8ee9e212964f') +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --sbindir=/usr/bin + + make CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS}" +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" - scons CCFLAGS="${CFLAGS} -std=c99" LINKFLAGS="${LDFLAGS} " install DESTDIR="${pkgdir}/usr/bin" + make DESTDIR="${pkgdir}" install # Install man page install -Dm444 fuse/mount.exfat-fuse.8 "${pkgdir}/usr/share/man/man8/mount.exfat-fuse.8" -} +}
