mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
51 lines
1.6 KiB
Bash
51 lines
1.6 KiB
Bash
# $Id$
|
|
# 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>
|
|
# - grab upstream commits for AArch64
|
|
|
|
# remove when bumped upstream
|
|
|
|
pkgname=aircrack-ng
|
|
_pkgver=1.2-rc4
|
|
pkgver=${_pkgver//-/}
|
|
pkgrel=2
|
|
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.aircrack-ng.org"
|
|
license=('GPL2')
|
|
depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool')
|
|
conflicts=('aircrack-ng-scripts')
|
|
replaces=('aircrack-ng-scripts')
|
|
provides=('aircrack-ng-scripts')
|
|
source=(http://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz
|
|
https://github.com/aircrack-ng/aircrack-ng/commit/252717588f2483a007bbd8bb6ceac3257e8c67e8.patch
|
|
https://github.com/aircrack-ng/aircrack-ng/commit/913443c9745f72899fdd75e71217dd7b3d76ce34.patch)
|
|
md5sums=('3bbc7d5035a98ec01e78774d05c3fcce'
|
|
'872a852ce0e2daffeb5038d81153d97c'
|
|
'5370cdb6889619ff425e74fc58f4b91b')
|
|
|
|
prepare() {
|
|
cd $pkgname-$_pkgver
|
|
|
|
patch -p1 -i ../252717588f2483a007bbd8bb6ceac3257e8c67e8.patch
|
|
patch -p1 -i ../913443c9745f72899fdd75e71217dd7b3d76ce34.patch
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$_pkgver
|
|
|
|
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
|
|
}
|