updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / arping / PKGBUILD
blob7388ced2a7ab92bc852d54955ed89cc49515c72c
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
2 # Contributor: amoralyrr
4 pkgname=arping
5 pkgver=2.09
6 pkgrel=1
7 pkgdesc='Broadcasts a who-has ARP packet on the network and prints answers'
8 arch=('i686' 'x86_64')
9 url='http://www.habets.pp.se/synscan/programs.php?prog=arping'
10 license=('GPL')
11 depends=('libnet')
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')
17 build() {
18         cd "$srcdir/$pkgname-$pkgver"
19         patch -p1 < "$srcdir/arping-HAVE_NET_BPF_H.patch"
20         ./configure --prefix=/usr
21         make
24 package() {
25         cd "$srcdir/$pkgname-$pkgver"
26         make DESTDIR="$pkgdir" install
27         cp "extra/arping-scan-net.sh" "$pkgdir/usr/sbin"