summaryrefslogtreecommitdiff
path: root/community/sniffit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sniffit/PKGBUILD')
-rw-r--r--community/sniffit/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/sniffit/PKGBUILD b/community/sniffit/PKGBUILD
index 56fca9456..4843eb7cc 100644
--- a/community/sniffit/PKGBUILD
+++ b/community/sniffit/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 21978 2010-07-19 13:45:26Z spupykin $
+# $Id: PKGBUILD 65453 2012-02-21 05:52:41Z 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=10
+pkgrel=11
pkgdesc="very good packet sniffer for unix with ncurses interactive mode."
arch=('i686' 'x86_64')
url="http://packages.ubuntu.com/source/sniffit"
@@ -20,7 +20,7 @@ md5sums=('2697cc18878480199fe6db1e61134d5a'
build() {
cd "${srcdir}"
- patch -Np0 < ${srcdir}/sniffit-fix.patch || return 1
+ patch -Np0 < ${srcdir}/sniffit-fix.patch
cd "${srcdir}/${pkgname}.${pkgver}"
@@ -28,8 +28,8 @@ build() {
cp /usr/share/libtool/config/config.{guess,sub} .
./configure --prefix=/usr --no-recursion
- make || return 1
- install -d -m0755 -g root -o root ${pkgdir}/usr/{sbin,share/licenses/${pkgname}} || return 1
+ 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
install -D -m0644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
}