From b9720be9679921410cf427056d48c242180947e9 Mon Sep 17 00:00:00 2001 From: tmpfile Date: Fri, 7 Jul 2017 20:16:54 -0300 Subject: main/libnfs: upgrade to 2.0.0 --- main/libnfs/APKBUILD | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) (limited to 'main') 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 # Maintainer: Natanael Copa 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" -- cgit v1.2.3