diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 3 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = whsniff 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. pkgver = 1.1.r10.920e107 - pkgrel = 1 + pkgrel = 2 url = https://github.com/homewsn/whsniff.git arch = x86_64 license = GPL @@ -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 } |