diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-07-15 20:43:37 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-07-18 07:34:23 +0000 |
commit | a33c270c6ab8ac63f4e0fe22bfff6c0be4474e4a (patch) | |
tree | 3ac0b4c3714e811237cb6b0f885bda5cab3f54e6 /community/nbd | |
parent | 10d40448932ff8ee8bf3283266e2d2dd1754c83f (diff) | |
download | aports-a33c270c6ab8ac63f4e0fe22bfff6c0be4474e4a.tar.bz2 aports-a33c270c6ab8ac63f4e0fe22bfff6c0be4474e4a.tar.xz |
community/nbd: upgrade to 3.16.1 and modernize APKBUILD
Diffstat (limited to 'community/nbd')
-rw-r--r-- | community/nbd/APKBUILD | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/community/nbd/APKBUILD b/community/nbd/APKBUILD index f4bb8e0321..d30012b9e9 100644 --- a/community/nbd/APKBUILD +++ b/community/nbd/APKBUILD @@ -1,16 +1,13 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=nbd -pkgver=3.14 +pkgver=3.16.1 pkgrel=0 pkgdesc="Tools for network block devices" url="http://nbd.sourceforge.net" arch="all" license="GPL2" -depends="" -depends_dev="" makedepends="glib-dev linux-headers zlib-dev" -install="" subpackages="$pkgname-doc $pkgname-client" source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz" @@ -28,23 +25,20 @@ build() { --localstatedir=/var \ --enable-lfs \ --enable-syslog \ - --enable-gznbd \ - || return 1 - make || return 1 + --enable-gznbd + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } client() { pkgdesc="$pkgdesc (client)" mkdir -p "$subpkgdir"/usr/sbin mv "$pkgdir"/usr/sbin/nbd-client \ - "$subpkgdir"/usr/sbin/ || return 1 + "$subpkgdir"/usr/sbin/ } -md5sums="fa29f57ca752e363edc15f0e35f0a95f nbd-3.14.tar.xz" -sha256sums="4d3d230ecc0a1302dc08d89f2a12d7596a8745f2b10da9bb035bbeb9ede78631 nbd-3.14.tar.xz" -sha512sums="f65c8bfb9f35931da6ec41bbcf94a34268fb7166b5df224ce525319bb053aa3ed174d242369cffc57a2e0d685c6a540cd2498f8044cd25c0c5bdeb92e9f099d0 nbd-3.14.tar.xz" +sha512sums="0e8444333e0a41a725c08867b79634bca1b8e9c0e88011dcf8e2f37b6e8de5582208c5029eea16bee517530c8725f232c1c963848bd09da5c4dda6a15ee283de nbd-3.16.1.tar.xz" |