desktop/aircrack-ng/PKGBUILD
2016-02-27 12:55:11 +01:00

27 lines
699 B
Bash

pkgname=aircrack-ng
_pkgver=1.2-rc4
pkgver=${_pkgver//-/}
pkgrel=1
pkgdesc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
arch=('x86_64')
url="http://www.aircrack-ng.org"
license=('GPL2')
depends=('openssl' 'sqlite3' 'iw' 'net-tools' 'wireless_tools' 'ethtool')
categories=('network')
source=("http://download.aircrack-ng.org/${pkgname}-${_pkgver}.tar.gz")
sha1sums=('2b2fbe50fedb606b3bd96a34d49f07760e8e618a')
build() {
cd $pkgname-$_pkgver
make sqlite=true experimental=true
}
package() {
cd $pkgname-$_pkgver
make DESTDIR="$pkgdir" sqlite=true experimental=true \
bindir=/usr/bin sbindir=/usr/bin mandir=/usr/share/man/man1/ \
smandir=/usr/share/man/man8/ install
}