blob: 8e374f71c1c8288f66d1ebc744bdec17f97b43c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Maintainer: AlphaLynx <alphalynx@protonmail.com>
# Contributor: envolution
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: ice-man <icemanf@gmail.com>
# Contributor: l-koehler <lorenz.koehler@posteo.de>
# Contributor: Josef Miegl <josef@miegl.cz>
# Contributor: Gaetan Bisson <bisson@archlinux.org
# Contributor: codyps <archlinux@codyps.com>
_pkgbase=aircrack-ng
pkgname=aircrack-ng-git
pkgver=1.7.r4703.g13e5c460
pkgrel=3
pkgdesc="WiFi security auditing tools suite"
arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'pentium4')
url="https://www.aircrack-ng.org"
license=('GPL-2.0-only')
depends=('glibc' 'gcc-libs' 'openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool'
'pcre' 'libpcap' libpcap.so 'python' 'zlib' 'libnl' 'hwloc' 'usbutils')
optdepends=('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')
makedepends=('git' 'python-setuptools')
checkdepends=('cmocka')
provides=('aircrack-ng-scripts')
conflicts=('aircrack-ng-scripts')
replaces=('aircrack-ng-scripts')
source=("git+https://github.com/$_pkgbase/$_pkgbase.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgbase
_release=$(git tag --sort=-v:refname --list | grep '^[0-9.]*$' | head -n1)
_revision=$(git rev-list --count HEAD)
_commit=$(git rev-parse --short=8 HEAD)
echo "$_release.r$_revision.g$_commit"
}
prepare() {
cd $_pkgbase
autoreconf -fiv
}
build() {
cd $_pkgbase
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--sbindir=/usr/bin \
--with-ext-scripts \
--with-experimental
make
}
check() {
cd $_pkgbase
make check
}
package() {
cd $_pkgbase
make DESTDIR=$pkgdir install
}
|