diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-07-07 20:16:54 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-07-10 10:02:33 +0000 |
commit | b9720be9679921410cf427056d48c242180947e9 (patch) | |
tree | a59051529b036b6c41928c0b71799f0c712a95b4 /main | |
parent | c73ca0e658258200fd48e82129eef88e5a894db9 (diff) | |
download | aports-b9720be9679921410cf427056d48c242180947e9.tar.bz2 aports-b9720be9679921410cf427056d48c242180947e9.tar.xz |
main/libnfs: upgrade to 2.0.0
Diffstat (limited to 'main')
-rw-r--r-- | main/libnfs/APKBUILD | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/main/libnfs/APKBUILD b/main/libnfs/APKBUILD index e84be36fc9..409565eb4e 100644 --- a/main/libnfs/APKBUILD +++ b/main/libnfs/APKBUILD @@ -1,33 +1,22 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libnfs -pkgver=1.11.0 +pkgver=2.0.0 pkgrel=0 pkgdesc="client library for accessing NFS shares" url="https://github.com/sahlberg/libnfs" arch="all" license="GPL" -depends="" depends_dev="" makedepends="$depends_dev autoconf automake m4 libtool" -install="" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz" -_builddir="$srcdir"/libnfs-libnfs-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/libnfs-libnfs-$pkgver build() { - cd "$_builddir" - ./bootstrap || return 1 + cd "$builddir" + ./bootstrap ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -35,16 +24,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } -md5sums="863b9a7beafb02d93ee963ef84bc6e63 libnfs-1.11.0.tar.gz" -sha256sums="fc2e45df14d8714ccd07dc2bbe919e45a2e36318bae7f045cbbb883a7854640f libnfs-1.11.0.tar.gz" -sha512sums="e1ef6e341fd56955c3adedf6ba90841a57be9c6a962d61ff18425593bfc2787c34c776fdc8ec711f8bb2da1ec08271fc8778a0499aef01c3a7694c384a4c037b libnfs-1.11.0.tar.gz" +sha512sums="701dd5317b0395523be89123d473f4da5c3ff53c2e30004a922f649f0dbbd97546ee39ab34fce06278a8148c13200ca383726a0822d09846fad6e308f29e42c7 libnfs-2.0.0.tar.gz" |