diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-10 06:26:26 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-07-10 06:26:33 +0000 |
commit | cc56175a47893c5d36aed1d8b2af26cbf8ac0c59 (patch) | |
tree | 15b5dad067d089b6ffbbe9c5ee3f538473e6d2ab /community | |
parent | 3da55e48f9088f4257ebd4bd0212177e7b0c6932 (diff) | |
download | aports-cc56175a47893c5d36aed1d8b2af26cbf8ac0c59.tar.bz2 aports-cc56175a47893c5d36aed1d8b2af26cbf8ac0c59.tar.xz |
community/arping: upgrade to 2.19, added check(), improved APKBUILD
Diffstat (limited to 'community')
-rw-r--r-- | community/arping/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/community/arping/APKBUILD b/community/arping/APKBUILD index e07eca77b4..96dd410cd4 100644 --- a/community/arping/APKBUILD +++ b/community/arping/APKBUILD @@ -1,29 +1,32 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=arping -pkgver=2.18 +pkgver=2.19 pkgrel=0 pkgdesc="An ARP ping utility" url="http://www.habets.pp.se/synscan/programs.php?prog=arping" arch="all" license="GPL2+" depends="!iputils" -depends_dev="" -makedepends="$depends_dev libnet-dev libpcap-dev" -install="" +makedepends="libnet-dev libpcap-dev" +checkdepends="subunit-dev check-dev" subpackages="$pkgname-doc" source="http://www.habets.pp.se/synscan/files/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver + +check() { + cd "$builddir" + make check +} + build() { cd "$builddir" ./configure --prefix=/usr - make || return 1 + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="de4ab99071bc337e8c094d7c7faf4b4e arping-2.18.tar.gz" -sha256sums="2b97c797969a597af6715c306ab03bb9c851fbc45c0378def257e8e2d57bf869 arping-2.18.tar.gz" -sha512sums="0ce54bd834695d1f624e9846d1796a316e5a733b83cdeaf745f522e1311f082d646c265a90b90b524d7e718070d61dd9ca767b5365f9fd5bd0a807e37c4d4c89 arping-2.18.tar.gz" +sha512sums="7ad242202432d91adc34b049c5511529789cf381ef02e803f8fc61394a5540427b719981946a36f692df9b1b3186e3f39b0f867f583aa42e237ae7f7549822a2 arping-2.19.tar.gz" |