aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"