diff options
author | Josef Miegl | 2018-04-04 20:43:53 +0200 |
---|---|---|
committer | Josef Miegl | 2018-04-04 20:43:53 +0200 |
commit | 93758396ed32a6b4205da643c826be19fe7c9b91 (patch) | |
tree | 3b6119e46f630b93ad5c7cefaba0fb1cc7200e58 | |
download | aur-93758396ed32a6b4205da643c826be19fe7c9b91.tar.gz |
Added PKGBUILD and .SRCINFO
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0d9b4a230c9b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = aircrack-ng-git + pkgdesc = WiFi security auditing tools suite + pkgver = 1.2.rc5.r8.g9b3fbbfe + pkgrel = 1 + url = https://aircrack-ng.org/ + arch = i686 + arch = x86_64 + arch = armv7h + license = GPL2 + makedepends = git + makedepends = autoconf + makedepends = automake + makedepends = pkg-config + makedepends = make + makedepends = gcc-libs + depends = openssl + depends = iw + depends = net-tools + depends = shtool + depends = ethtool + depends = libnl + depends = libtool + provides = aircrack-ng + conflicts = aircrack-ng + source = git://github.com/aircrack-ng/aircrack-ng.git + sha256sums = SKIP + +pkgname = aircrack-ng-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1c5c615e6a4d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Josef Miegl <josef@miegl.cz> + +pkgname=aircrack-ng-git +_pkgname=aircrack-ng +pkgver=1.2.rc5.r8.g9b3fbbfe +pkgrel=1 +pkgdesc='WiFi security auditing tools suite' +url='https://aircrack-ng.org/' +arch=('i686' 'x86_64' 'armv7h') +license=('GPL2') +makedepends=('git' 'autoconf' 'automake' 'pkg-config' 'make' 'gcc-libs') +depends=('openssl' 'iw' 'net-tools' 'shtool' 'ethtool' 'libnl' 'libtool') +source=("git://github.com/aircrack-ng/aircrack-ng.git") +sha256sums=('SKIP') + +provides=("${_pkgname}") +conflicts=("${_pkgname}") + +pkgver() { + cd "${srcdir}/${_pkgname}" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "${srcdir}/${_pkgname}" + autoreconf -i + ./configure --with-experimental --with-ext-scripts + make +} + +package() { + cd "${srcdir}/${_pkgname}" + make \ + DESTDIR="${pkgdir}" \ + sbindir=/usr/bin \ + prefix=/usr \ + etcdir=/etc \ + install +} + |