# Maintainer: l-koehler # Contributor: Josef Miegl # Contributor: Gaetan Bisson # Contributor: Daenyth # Contributor: Corrado Primier # Contributor: ice-man # Contributor: codyps pkgname=aircrack-ng-git pkgver=20240303.6e2871e7 pkgrel=1 pkgdesc="WiFi security auditing tools suite" url="https://aircrack-ng.org" arch=('i686' 'x86_64' 'aarch64' 'armv7h') license=('GPL2') makedepends=('git' 'python' 'python-setuptools') depends=('gcc-libs' 'libnl' 'openssl' 'sqlite' 'hwloc' 'pcre' 'libpcap' 'iw' 'net-tools' 'ethtool') optdepends=('python: needed for dump-join, airgraph-ng, versuck-ng, airdrop-ng' 'usbutils: needed for airmon-ng' 'pciutils: required for devices with populated PCI(e) bus' 'gpsd: allows airodump-ng to log coordinates' 'pcre2: SSID filtering with regular expressions in airodump-ng') provides=("${pkgname%-git}" 'aircrack-ng-scripts') conflicts=("${pkgname%-git}" 'aircrack-ng-scripts') replaces=('aircrack-ng-svn' 'aircrack-ng-scripts') source=("git+https://github.com/aircrack-ng/aircrack-ng.git") sha256sums=('SKIP') pkgver() { cd "${pkgname%-git}" git log -1 --format='%cd.%h' --date=short | tr -d - } prepare() { cd "${pkgname%-git}" autoreconf -f -i } build() { cd "${pkgname%-git}" ./configure --with-experimental --with-ext-scripts --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var make } check() { cd "${pkgname%-git}" make check } package() { cd "${pkgname%-git}" make DESTDIR="${pkgdir}" install } # vim:set ts=2 sw=2 et: