# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=aircrack-ng pkgver=1.7 pkgrel=2 pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols" url="http://www.aircrack-ng.org" arch="all !s390x" # tests fails on big-endian license="GPL-2.0-or-later" depends="ethtool wireless-tools iw sqlite grep" makedepends="autoconf automake libnl3-dev libpcap-dev openssl-dev>3 libtool linux-headers pcre-dev python3-dev sqlite-dev zlib-dev" checkdepends="coreutils" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/aircrack-ng/aircrack-ng/archive/$pkgver.tar.gz make-check-fix.patch" prepare() { default_prepare autoreconf -fiv } build() { CFLAGS="$CFLAGS -fcommon" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-experimental make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" 3e6433cba1d6b122701245e8904480de9957dad033c1642cc45b30339e9391ffa21b39b2cc712bcba79bc2c2e26f2964be8f28a27081dc4bb323792cb7df2478 aircrack-ng-1.7.tar.gz f57a8a78f164e06176600d8637e00350747aae21e91f261de9639255ea83594782c9d94474e901dac71c68e916a8951a22fc9ac2607eec65cb23954fe3656c07 make-check-fix.patch "