[arch-commits] Commit in aircrack-ng/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Feb 6 21:25:14 UTC 2020


    Date: Thursday, February 6, 2020 @ 21:25:14
  Author: anthraxx
Revision: 563679

upgpkg: aircrack-ng 1.6-1: activate aircrack-ng-scripts

FS#64435

Modified:
  aircrack-ng/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-06 20:48:36 UTC (rev 563678)
+++ PKGBUILD	2020-02-06 21:25:14 UTC (rev 563679)
@@ -5,7 +5,7 @@
 # Contributor: ice-man <icemanf at gmail.com>
 
 pkgname=aircrack-ng
-_pkgver=1.5.2
+_pkgver=1.6
 pkgver=${_pkgver//-/}
 pkgrel=1
 pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
@@ -13,20 +13,29 @@
 url="https://www.aircrack-ng.org"
 license=('GPL2')
 depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool'
-         'pcre' 'libpcap' 'python')
+         'pcre' 'libpcap' 'python' 'zlib' 'libnl' 'hwloc')
+checkdepends=('cmocka')
 conflicts=('aircrack-ng-scripts')
 replaces=('aircrack-ng-scripts')
 provides=('aircrack-ng-scripts')
 source=(https://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz)
-md5sums=('2648c192d206e953c67dca64967d2982')
+sha256sums=('4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247')
 
+prepare() {
+  cd $pkgname-$_pkgver
+  autoreconf -fiv
+}
+
 build() {
   cd $pkgname-$_pkgver
 
-  ./autogen.sh
+  ./configure \
+    --prefix=/usr \
+    --libexecdir=/usr/lib \
+    --sbindir=/usr/bin \
+    --with-ext-scripts \
+    --with-experimental
 
-  ./configure --prefix=/usr --libexecdir=/usr/lib
-
   make
 }
 
@@ -39,6 +48,7 @@
 package() {
   cd $pkgname-$_pkgver
 
-  make DESTDIR="$pkgdir" pkglibexecdir=/usr/lib/aircrack-ng \
-    sbindir=/usr/bin install
+  make DESTDIR="$pkgdir" install
 }
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list