summaryrefslogtreecommitdiff
path: root/community/sniffit/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-29 01:29:52 -0700
committerroot <root@rshg054.dnsready.net>2013-05-29 01:29:52 -0700
commitd267e861074512027414df29d18d9824e0faae8f (patch)
tree770bb482bb715a84eab76bfbfa1b748d31a13541 /community/sniffit/PKGBUILD
parent72a09de07cab5e8ad5c3ec7c36814663a3f7a33b (diff)
Wed May 29 01:29:24 PDT 2013
Diffstat (limited to 'community/sniffit/PKGBUILD')
-rw-r--r--community/sniffit/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/sniffit/PKGBUILD b/community/sniffit/PKGBUILD
index 4843eb7cc..b3f38f95b 100644
--- a/community/sniffit/PKGBUILD
+++ b/community/sniffit/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 65453 2012-02-21 05:52:41Z spupykin $
+# $Id: PKGBUILD 91886 2013-05-28 18:10:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
pkgname=sniffit
pkgver=0.3.7.beta
-pkgrel=11
-pkgdesc="very good packet sniffer for unix with ncurses interactive mode."
+pkgrel=12
+pkgdesc="Very good packet sniffer for unix with ncurses interactive mode"
arch=('i686' 'x86_64')
url="http://packages.ubuntu.com/source/sniffit"
#seems the website are out, ubuntu have all sources
@@ -27,8 +27,12 @@ build() {
rm -f config.sub config.guess
cp /usr/share/libtool/config/config.{guess,sub} .
- ./configure --prefix=/usr --no-recursion
+ ./configure --prefix=/usr --no-recursion --sbindir=/usr/bin
make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}.${pkgver}"
install -d -m0755 -g root -o root ${pkgdir}/usr/{sbin,share/licenses/${pkgname}}
install -D -m0744 -g root -o root sniffit ${pkgdir}/usr/sbin/sniffit
install -D -m0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}