1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
2 # Contributor: amoralyrr
7 pkgdesc='Broadcasts a who-has ARP packet on the network and prints answers'
9 url='http://www.habets.pp.se/synscan/programs.php?prog=arping'
12 source=("http://www.habets.pp.se/synscan/files/$pkgname-$pkgver.tar.gz"
13 'arping-HAVE_NET_BPF_H.patch')
14 md5sums=('6f6a91c8700fcc7454b4e89480e417e3'
15 '9491a164459ab986ab3528a2ec4e5268')
18 cd "$srcdir/$pkgname-$pkgver"
19 patch -p1 < "$srcdir/arping-HAVE_NET_BPF_H.patch"
20 ./configure --prefix=/usr
25 cd "$srcdir/$pkgname-$pkgver"
26 make DESTDIR="$pkgdir" install
27 cp "extra/arping-scan-net.sh" "$pkgdir/usr/sbin"