updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / mksend / PKGBUILD
blob8dddf7793c6e83d87b6f90fc58687562e5b3b627
1 # Contributor: catwell <catwell@archlinux.us>
3 pkgname=mksend
4 pkgver=0.5.6
5 pkgrel=1
6 pkgdesc="Tool to redirect, modify and send frames from a traffic active link."
7 arch=('i686' 'x86_64')
8 url="http://nopcode.org/wk.php/mksend"
9 license=('GPL')
10 source=(http://news.nopcode.org/pvcroot/$pkgname-$pkgver.tar.gz)
11 md5sums=(41a61c22cd3dcaa3a187df4618720b78)
13 build() {
14   cd $srcdir/$pkgname-$pkgver
15   ./configure --prefix=/usr || return 1
16   make || return 1
17   install -d $pkgdir/usr/share/mksend/db $pkgdir/usr/share/mksend/scripts \
18     $pkgdir/var/db/mksend
19   install -m0644 db/*.xml $pkgdir/usr/share/mksend/db/
20   install -m0755 scripts/*.sh $pkgdir/usr/share/mksend/scripts/
21   install -Ds src/mksend $pkgdir/usr/sbin/mksend
22   install -Ds pcaptool/pcaptool $pkgdir/usr/bin/pcaptool
23   install -Dm0444 doc/man/man1/pcaptool.1 $pkgdir/usr/share/man/man1/pcaptool.1