diff options
author | bhusang | 2020-09-14 09:47:09 -0700 |
---|---|---|
committer | bhusang | 2020-09-14 10:20:12 -0700 |
commit | 88f2896f123ec7abc60acdaa64e68d6d30c47116 (patch) | |
tree | 8c47ea34e7995edae56cf4cd313e46426b002762 | |
download | aur-arp-scan-git.tar.gz |
Initial checking for PKGBUILD file
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..daf5e1fe5c68 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = arp-scan-git + pkgdesc = The ARP Scanner + pkgver = r304.af905ce + pkgrel = 1 + url = https://github.com/royhills/arp-scan + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + depends = libpcap + optdepends = perl: scripting support + source = git+https://github.com/royhills/arp-scan + sha256sums = SKIP + +pkgname = arp-scan-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..608222e067fe --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Bhusan Gupta <bhusan.gupta@gmail.com> +pkgname=arp-scan-git +pkgver=r304.af905ce +pkgrel=1 +pkgdesc="The ARP Scanner" +arch=(i686 x86_64) +url="https://github.com/royhills/arp-scan" +license=('GPL') +depends=(libpcap) +makedepends=(git) +checkdepends=() +optdepends=('perl: scripting support') +source=(git+https://github.com/royhills/arp-scan) +sha256sums=('SKIP') + +pkgver() { + cd arp-scan + echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd arp-scan + autoreconf --install + ./configure --prefix=/usr + make +} + +check() { + cd arp-scan + make -k check +} + +package() { + cd arp-scan + make install DESTDIR="$pkgdir" +} |