diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 19 insertions, 14 deletions
@@ -1,14 +1,16 @@ -pkgbase = whsniff +pkgbase = whsniff-git 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 = 2 - url = https://github.com/homewsn/whsniff.git + pkgver = 1.1.r38.4894032 + pkgrel = 1 + url = https://github.com/homewsn/whsniff arch = x86_64 license = GPL makedepends = sed depends = libusb - source = whsniff::git+https://github.com/homewsn/whsniff.git + provides = whsniff=1.1.r38.4894032 + conflicts = whsniff + replaces = whsniff<=1.1.r18 + source = whsniff-git::git+https://github.com/homewsn/whsniff.git sha256sums = SKIP -pkgname = whsniff - +pkgname = whsniff-git @@ -1,21 +1,24 @@ -# Maintainer: Alex Mekkering <amekkering at gmail dot com> +# Maintainer: Mansour Behabadi <mansour@oxplot.com> +# Contributor: Alex Mekkering <amekkering at gmail dot com> -pkgname=whsniff -_pkgver=1.1 -pkgver=1.1.r10.920e107 -pkgrel=2 +pkgname=whsniff-git +pkgver=1.1.r38.4894032 +pkgrel=1 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' +url='https://github.com/homewsn/whsniff' license=('GPL') depends=('libusb') +provides=("whsniff=${pkgver}") +conflicts=('whsniff') +replaces=('whsniff<=1.1.r18') makedepends=('sed') source=( "${pkgname}::git+https://github.com/homewsn/whsniff.git" ) sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" - printf "${_pkgver}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "1.1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { |