Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
From 0605db54d54df48d3d1b11b538f9b9480e8ee016 Mon Sep 17 00:00:00 2001
From: Cody P Schafer <dev@codyps.com>
Date: Sun, 20 May 2018 13:46:06 -0400
Subject: [PATCH] use configure args to fix /usr/local usage
---
.SRCINFO | 2 +-
PKGBUILD | 7 ++-----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/.SRCINFO b/.SRCINFO
index b6c6110..06a1879 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = aircrack-ng-git
pkgdesc = WiFi security auditing tools suite
- pkgver = 20180422.237e361c
+ pkgver = 20180518.e9430e64
pkgrel = 1
url = https://aircrack-ng.org/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index bf9664b..bb84273 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=aircrack-ng-git
_pkgname=aircrack-ng
-pkgver=20180422.237e361c
+pkgver=20180518.e9430e64
pkgrel=1
pkgdesc='WiFi security auditing tools suite'
url='https://aircrack-ng.org/'
@@ -31,7 +31,7 @@ pkgver() {
build() {
cd "${srcdir}/${_pkgname}"
autoreconf -i
- ./configure --with-experimental --with-ext-scripts
+ ./configure --with-experimental --with-ext-scripts --prefix=/usr --sbindir=/usr/bin
make
}
@@ -39,9 +39,6 @@ package() {
cd "${srcdir}/${_pkgname}"
make \
DESTDIR="${pkgdir}" \
- sbindir=/usr/bin \
- prefix=/usr \
- etcdir=/etc \
install
}
--
2.17.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.