diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 } |