desktop/aircrack-ng/PKGBUILD

27 lines
699 B
Bash
Raw Normal View History

2010-10-12 14:36:47 +08:00
pkgname=aircrack-ng
2016-02-27 19:55:11 +08:00
_pkgver=1.2-rc4
pkgver=${_pkgver//-/}
pkgrel=1
2010-10-12 14:36:47 +08:00
pkgdesc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
2016-02-27 19:55:11 +08:00
arch=('x86_64')
2010-10-12 14:36:47 +08:00
url="http://www.aircrack-ng.org"
license=('GPL2')
2016-02-27 19:55:11 +08:00
depends=('openssl' 'sqlite3' 'iw' 'net-tools' 'wireless_tools' 'ethtool')
categories=('network')
2016-02-27 19:55:11 +08:00
source=("http://download.aircrack-ng.org/${pkgname}-${_pkgver}.tar.gz")
sha1sums=('2b2fbe50fedb606b3bd96a34d49f07760e8e618a')
2010-10-12 14:36:47 +08:00
build() {
2016-02-27 19:55:11 +08:00
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
}