summaryrefslogtreecommitdiff
path: root/community/sniffit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sniffit/PKGBUILD')
-rw-r--r--community/sniffit/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/community/sniffit/PKGBUILD b/community/sniffit/PKGBUILD
index 2bd24d7f9..4e1d69ae4 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 91957 2013-05-30 09:44:15Z 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=13
+pkgdesc="Very good packet sniffer for unix with ncurses interactive mode"
arch=('i686' 'x86_64' 'mips64el')
url="http://packages.ubuntu.com/source/sniffit"
#seems the website are out, ubuntu have all sources
@@ -27,9 +27,13 @@ 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
- 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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}.${pkgver}"
+ install -d -m0755 -g root -o root ${pkgdir}/usr/{bin,share/licenses/${pkgname}}
+ install -D -m0744 -g root -o root sniffit ${pkgdir}/usr/bin/sniffit
install -D -m0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
}