updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / scapy / PKGBUILD
bloba9320c69f9fcae3f613e2e4e3dfedb0c79ab3695
1 # Contributor: Emmanuel Gras <gras.emmanuel@gmail.com>
3 pkgname=scapy
4 pkgver=2.2.0
5 pkgrel=3
6 pkgdesc="A powerful interactive packet manipulation program written in Python"
7 url="http://www.secdev.org/projects/scapy/"
8 depends=('tcpdump' 'python2' )
9 optdepends=('pycrypto: WEP decription support'
10             'gnuplot: plotting support'
11             'graphviz: conversations() method support')
12 makedepends=('')
13 provides=('scapy')
14 arch=('i686' 'x86_64')
15 license=('GPL')
16 md5sums=('406990bd8da1f4958b354b4b6fc4b3eb')
18 source=(https://www.secdev.org/projects/scapy/files/$pkgname-$pkgver.tar.gz)
20 build(){
21   cd $srcdir/$pkgname-$pkgver
22   python2 setup.py build
25 package() {
26   cd $srcdir/$pkgname-$pkgver
27   python2 setup.py install --prefix=$pkgdir/usr