community/aircrack-ng to 1.2-4

This commit is contained in:
Kevin Mihelich 2018-05-24 18:03:44 +00:00
parent deaff2382f
commit 0b2bfaacd6

View file

@ -11,12 +11,13 @@
pkgname=aircrack-ng
_pkgver=1.2
pkgver=${_pkgver//-/}
pkgrel=3
pkgrel=4
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
arch=('x86_64')
url="https://www.aircrack-ng.org"
license=('GPL2')
depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool')
depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool'
'pcre' 'libpcap' 'python')
conflicts=('aircrack-ng-scripts')
replaces=('aircrack-ng-scripts')
provides=('aircrack-ng-scripts')
@ -36,15 +37,21 @@ build() {
./autogen.sh
./configure --prefix=/usr
./configure --prefix=/usr --libexecdir=/usr/lib
make sqlite=true experimental=true
make
}
check() {
cd $pkgname-$_pkgver
make check
}
package() {
cd $pkgname-$_pkgver
make DESTDIR="$pkgdir" sqlite=true experimental=true \
make DESTDIR="$pkgdir" pkglibexecdir=/usr/lib/aircrack-ng \
sbindir=/usr/bin install
}
md5sums=('bb11ec14e1fe505d8d0d51cee0c54df9'