1 # $Id: PKGBUILD 55456 2011-09-13 00:28:38Z ebelanger $
2 # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
4 pkgname=driftnet-debian
8 pkgdesc="Listens to network traffic and picks out images from TCP streams it observes. (with Debian patches)"
10 url=('http://www.ex-parrot.com/~chris/driftnet/')
13 conflicts=('driftnet')
14 depends=('libpcap' 'gtk2' 'giflib')
16 source=("http://www.ex-parrot.com/~chris/driftnet/driftnet-${pkgver}.tar.gz"
17 "http://ftp.de.debian.org/debian/pool/main/d/driftnet/driftnet_${pkgver}-${_pkgdebpatchver}.diff.gz")
18 md5sums=('8e11d77770452f97bb3c23f510489815'
19 '912c7ff5c0af1ebf4482749aa53533e6')
22 cd "${srcdir}/driftnet-${pkgver}"
23 patch -p1 -i "${srcdir}/driftnet_${pkgver}-${_pkgdebpatchver}.diff"
24 sed -i -e 's/$(OBJS) $(LDFLAGS)/$(LDFLAGS) $(OBJS)/' Makefile
29 cd "${srcdir}/driftnet-${pkgver}"
30 install -D -m755 driftnet "${pkgdir}/usr/bin/driftnet"
31 install -D -m644 driftnet.1 "${pkgdir}/usr/share/man/man1/driftnet.1"