mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
48 lines
1.2 KiB
Bash
48 lines
1.2 KiB
Bash
# Maintainer: 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>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - build v7 with neon
|
|
|
|
pkgname=aircrack-ng
|
|
_pkgver=1.5.2
|
|
pkgver=${_pkgver//-/}
|
|
pkgrel=1
|
|
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
|
|
arch=('x86_64')
|
|
url="https://www.aircrack-ng.org"
|
|
license=('GPL2')
|
|
depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool'
|
|
'pcre' 'libpcap' 'python')
|
|
conflicts=('aircrack-ng-scripts')
|
|
replaces=('aircrack-ng-scripts')
|
|
provides=('aircrack-ng-scripts')
|
|
source=(https://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz)
|
|
md5sums=('2648c192d206e953c67dca64967d2982')
|
|
|
|
build() {
|
|
cd $pkgname-$_pkgver
|
|
|
|
[[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr --libexecdir=/usr/lib
|
|
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$_pkgver
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$_pkgver
|
|
|
|
make DESTDIR="$pkgdir" pkglibexecdir=/usr/lib/aircrack-ng \
|
|
sbindir=/usr/bin install
|
|
}
|