# $Id: PKGBUILD 96850 2013-09-06 16:26:13Z bgyorgy $ # Contributor: Brad Fanella # Contributor: Daenyth # Contributor: Corrado Primier # Contributor: ice-man pkgname=aircrack-ng pkgver=1.1 pkgrel=10 pkgdesc="A key cracker for the 802.11 WEP and WPA-PSK protocols" arch=('i686' 'x86_64') url="http://www.aircrack-ng.org" license=('GPL2') depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools') conflicts=('aircrack-ng-scripts') replaces=('aircrack-ng-scripts') provides=('aircrack-ng-scripts') source=("http://download.aircrack-ng.org/$pkgname-$pkgver.tar.gz") md5sums=('f7a24ed8fad122c4187d06bfd6f998b4') build() { cd "$srcdir/$pkgname-$pkgver" make SQLITE=true UNSTABLE=true } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" SQLITE=true UNSTABLE=true \ bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1 install }