aboutsummaryrefslogtreecommitdiffstats
path: root/testing/arp-scan/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-07-04 15:04:51 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2018-07-13 15:31:38 +0000
commit6352f9f904d6b2210d9ee93c492c5c8db3dd7dc1 (patch)
tree59d8c733b1f53d26706128cf7e3448765c5843fb /testing/arp-scan/APKBUILD
parent892dcb2a0ed2a7265606c87ae68797a4c069f209 (diff)
downloadaports-6352f9f904d6b2210d9ee93c492c5c8db3dd7dc1.tar.bz2
aports-6352f9f904d6b2210d9ee93c492c5c8db3dd7dc1.tar.xz
testing/arp-scan: clarify license, modernize
Diffstat (limited to 'testing/arp-scan/APKBUILD')
-rw-r--r--testing/arp-scan/APKBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/testing/arp-scan/APKBUILD b/testing/arp-scan/APKBUILD
index e7becee91b..318aa976c6 100644
--- a/testing/arp-scan/APKBUILD
+++ b/testing/arp-scan/APKBUILD
@@ -3,32 +3,31 @@
pkgname=arp-scan
pkgver=1.9.5
pkgrel=0
-pkgdesc="The ARP scanner"
+pkgdesc="Address Resolution Protocol (ARP) packet scanner"
url="https://github.com/royhills/arp-scan"
arch="all"
-license="GPL-3.0"
+license="GPL-3.0-or-later"
depends=""
-makedepends="libpcap-dev autoconf automake libtool"
+makedepends="autoconf automake libpcap-dev libtool"
install=""
-subpackages="${pkgname}-doc"
-source="${pkgname}-${pkgver}.tar.gz::https://github.com/royhills/arp-scan/archive/${pkgver}.tar.gz"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/royhills/arp-scan/archive/$pkgver.tar.gz"
-_builddir="${srcdir}/${pkgname}-${pkgver}"
+builddir="$srcdir/$pkgname-$pkgver"
prepare() {
- cd "${_builddir}"
- autoreconf --install
+ default_prepare
+ autoreconf -vfi
}
build() {
- cd "${_builddir}"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --mandir=/usr/share/man \
- || return 1
- make || return 1
+ --mandir=/usr/share/man
+ make
}
check() {
@@ -37,8 +36,8 @@ check() {
}
package() {
- cd "${_builddir}"
- make DESTDIR="${pkgdir}" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
sha512sums="a10c510dc668b103fc508619d04e5870fdf6f576b79222904cfe988b4e9255604ce1a724100318a662d5f77d33270bc733f0e3091fb9da034a54b9ab402cbcab arp-scan-1.9.5.tar.gz"