diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
commit | cebf33d7109e0157a80f34d6136e212f0a28d274 (patch) | |
tree | a6464302c970f72581105b50ff0896e1f56def3d /community/sniffit/PKGBUILD | |
parent | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff) | |
parent | 5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/sniffit/PKGBUILD')
-rw-r--r-- | community/sniffit/PKGBUILD | 16 |
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} } |