updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / reaver / PKGBUILD
blob6576f8c29dc575cb882f8edd1d49d8b68a62a19b
1 # Maintainer: Bartosz FeÅ„ski <fenio@debian.org>
2 pkgname=reaver
3 pkgver=1.3
4 pkgrel=2
5 pkgdesc="brute force attack tool against an access point's WiFi Protected Setup pin number"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/reaver-wps/"
8 license=('GPL')
9 depends=('libpcap' 'sqlite3')
10 makedepends=('libpcap' 'sqlite3')
11 #install=$pkgname.install
12 source=(http://reaver-wps.googlecode.com/files/$pkgname-$pkgver.tar.gz)
13 md5sums=('6ec7dbb11b67e1b4a20f2ceba5f69547')
15 build() {
16         cd $srcdir/$pkgname-$pkgver/src
17         ./configure --prefix=/usr
18         make
21 package() {
22         mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/doc/reaver
23         install -dm755 $pkgdir/usr/bin
24         install -dm755 $pkgdir/usr/share/doc/reaver
25         install -dm755 $pkgdir/usr/share/man/man1
26         install -m755 $srcdir/$pkgname-$pkgver/src/reaver $pkgdir/usr/bin/
27         install -m755 $srcdir/$pkgname-$pkgver/src/walsh $pkgdir/usr/bin/
28         install -m644 $srcdir/$pkgname-$pkgver/docs/README $pkgdir/usr/share/doc/reaver/
29         install -m644 $srcdir/$pkgname-$pkgver/docs/reaver.1.gz $pkgdir/usr/share/man/man1/