desktop/aircrack-ng/PKGBUILD

31 lines
740 B
Bash
Raw Normal View History

2010-10-12 14:36:47 +08:00
pkgname=aircrack-ng
2018-04-23 19:25:52 +08:00
_pkgver=1.2
2016-02-27 19:55:11 +08:00
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")
2018-04-23 19:25:52 +08:00
sha1sums=('ccc7a44ad2243c66b9a45fe133514485a72d674f')
2010-10-12 14:36:47 +08:00
build() {
2016-02-27 19:55:11 +08:00
cd $pkgname-$_pkgver
2018-04-23 19:25:52 +08:00
./autogen.sh
./configure --prefix=/usr
2016-02-27 19:55:11 +08:00
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
}