summaryrefslogtreecommitdiff
path: root/community/driftnet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/driftnet/PKGBUILD')
-rw-r--r--community/driftnet/PKGBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/community/driftnet/PKGBUILD b/community/driftnet/PKGBUILD
index d7fb5fce2..7a128014d 100644
--- a/community/driftnet/PKGBUILD
+++ b/community/driftnet/PKGBUILD
@@ -1,17 +1,25 @@
-# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
+# $Id: PKGBUILD 55457 2011-09-13 00:28:52Z ebelanger $
+# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
pkgname=driftnet
pkgver=0.1.6
-pkgrel=4
+pkgrel=5
pkgdesc="Listens to network traffic and picks out images from TCP streams it observes."
+arch=('i686' 'x86_64')
url=('http://www.ex-parrot.com/~chris/driftnet/')
license=('GPL')
-arch=('i686' 'x86_64')
depends=('libjpeg' 'libpcap' 'gtk' 'giflib')
makedepends=('imake')
-source=(http://www.ex-parrot.com/~chris/driftnet/$pkgname-$pkgver.tar.gz)
+source=(http://www.ex-parrot.com/~chris/driftnet/${pkgname}-${pkgver}.tar.gz)
+md5sums=('8e11d77770452f97bb3c23f510489815')
+
build() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR=$pkgdir LDFLAGS="" || return 1
- install -D -m755 $pkgname "$pkgdir/usr/bin/$pkgname"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make LDFLAGS=""
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -D -m755 driftnet "${pkgdir}/usr/bin/driftnet"
}
-md5sums=('8e11d77770452f97bb3c23f510489815')