diff options
-rw-r--r-- | abs/extra/libnfs/PKGBUILD | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/abs/extra/libnfs/PKGBUILD b/abs/extra/libnfs/PKGBUILD index eaef7ac..42cf789 100644 --- a/abs/extra/libnfs/PKGBUILD +++ b/abs/extra/libnfs/PKGBUILD @@ -1,30 +1,34 @@ -# $Id: PKGBUILD 68570 2012-03-28 10:32:51Z idevolder $ +# $Id$ # Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> pkgname=libnfs -pkgver=1.3.0 +pkgver=1.10.0 pkgrel=1 pkgdesc="client library for accessing NFS shares" arch=('i686' 'x86_64') url="https://github.com/sahlberg/libnfs" license=('GPL') depends=('glibc') -source=("$pkgname-$pkgver.tar.gz::https://github.com/sahlberg/libnfs/tarball/$pkgname-$pkgver") -_srcfolder=sahlberg-libnfs-47e5a2c -sha256sums=('0acda3029db699c3978684080843f71d222ad35b30a2ff0d220d144e98854948') -options=(!libtool) +source=( + "https://github.com/sahlberg/$pkgname/archive/$pkgname-$pkgver.tar.gz" +) +sha256sums=('7f6c62a05c7e0f0749f2b13f178a4ed7aaf17bd09e65a10bb147bfe9807da272') -build() { - mv "$_srcfolder" "$pkgname-$pkgver" +#prepare() { + #cd "$pkgname-$pkgname-$pkgver" + +#} - cd "$pkgname-$pkgver" +build() { + cd "$pkgname-$pkgname-$pkgver" - autoreconf -vif - ./configure --prefix=/usr - make + autoreconf -vif + ./configure --prefix=/usr + make } package() { - cd "$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "$pkgname-$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } + |