diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-18 03:27:14 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-18 03:27:14 +0000 |
commit | 98a1f878b081b5890e36d6c2ede636b10c0c64aa (patch) | |
tree | 4feea51a16f535dd32bc28c92667bbfc95913552 /community/libnfs/PKGBUILD | |
parent | 6459b84bf754eda5323f40eb7af76dde65b63251 (diff) |
Wed Jun 18 03:22:40 UTC 2014
Diffstat (limited to 'community/libnfs/PKGBUILD')
-rw-r--r-- | community/libnfs/PKGBUILD | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/community/libnfs/PKGBUILD b/community/libnfs/PKGBUILD index 82487db06..f46f8cc75 100644 --- a/community/libnfs/PKGBUILD +++ b/community/libnfs/PKGBUILD @@ -1,26 +1,39 @@ -# $Id: PKGBUILD 108142 2014-03-23 19:44:44Z idevolder $ +# $Id: PKGBUILD 113309 2014-06-17 18:47:21Z idevolder $ # Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> pkgname=libnfs pkgver=1.9.3 -pkgrel=1 +pkgrel=2 pkgdesc="client library for accessing NFS shares" arch=('i686' 'x86_64') url="https://github.com/sahlberg/libnfs" license=('GPL') depends=('glibc') -source=("https://github.com/sahlberg/$pkgname/archive/$pkgname-$pkgver.tar.gz") +source=( + "https://github.com/sahlberg/$pkgname/archive/$pkgname-$pkgver.tar.gz" + '0001-nfs_normalize_path-don-t-strip-trailing-slash-from.patch' +) -build() { +prepare() { cd "$pkgname-$pkgname-$pkgver" - autoreconf -vif - ./configure --prefix=/usr - make + patch -p1 -i "$srcdir/0001-nfs_normalize_path-don-t-strip-trailing-slash-from.patch" +} + +build() { + cd "$pkgname-$pkgname-$pkgver" + + autoreconf -vif + ./configure --prefix=/usr + make } package() { - cd "$pkgname-$pkgname-$pkgver" - make DESTDIR="$pkgdir" install + cd "$pkgname-$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } -sha256sums=('9d1c988065b373ea25e195aedff4c33ca949fee41c61bdb38a26908bb618315a') + +sha256sums=( + '9d1c988065b373ea25e195aedff4c33ca949fee41c61bdb38a26908bb618315a' + '4a84a304a8364b89b90ef6bc43c9190e2ff600fd64fd15e6ecc20ab14eed78a5' +) |