summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlex Mekkering2019-04-16 21:14:21 +0200
committerAlex Mekkering2019-04-16 21:14:21 +0200
commitc26166f019764b42f9d5ea55c794d9d4d447ba4b (patch)
treef4cf9d5e7d5f0c2f912f4ba10c876fe10021c4c9 /PKGBUILD
parentb324eddc0e944f8e8be388d22c84bd30fbd32fd6 (diff)
downloadaur-whsniff.tar.gz
Prevented conflicts with filesystem package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2e67490be33d..347cd804f3da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=whsniff
_pkgver=1.1
pkgver=1.1.r10.920e107
-pkgrel=1
+pkgrel=2
pkgdesc="A command line utility that interfaces TI CC2531 USB dongle with Wireshark for capturing and displaying IEEE 802.15.4 traffic at 2.4 GHz."
arch=('x86_64')
url='https://github.com/homewsn/whsniff.git'
@@ -20,9 +20,6 @@ pkgver() {
prepare() {
cd "${srcdir}/${pkgname}"
-
- # patch Makefile
- sed -i "s:PREFIX = /usr/local:PREFIX = ${pkgdir}:g" Makefile
}
build() {
@@ -32,5 +29,5 @@ build() {
package() {
cd "${srcdir}/${pkgname}"
- make install
+ make install PREFIX=${pkgdir} BINDIR=${pkgdir}/usr/bin
}