updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tcpxtract / PKGBUILD
blobfc57fc7e1f742ebf8d92fcf8e63c75763e1eb6ca
1 # Maintainer: Michael P <ptchinster@archlinux.us>
2 # Contributor: Christoph Siegenthaler <csi@gmx.ch>
3 # Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
5 pkgname=tcpxtract
6 pkgver=1.0.1
7 pkgrel=3
8 pkgdesc="A tool for extracting files from network traffic"
9 url="http://tcpxtract.sourceforge.net"
10 arch=('i686' 'x86_64')
11 license=('GPL')
12 depends=('libpcap')
13 source=(http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
14 conf_default_path.patch)
15 md5sums=('1d8fe172d4590c33a157798e08dc0ccd' 'c7964f1e9c1315ae2d2b94c2bd06b4b7')
17 build()
19         cd $startdir/src/$pkgname-$pkgver
20         # Applying conf_default_path patch
21         patch -Np0 -i $startdir/src/conf_default_path.patch || return 1
23         ./configure --prefix=/usr --sysconfdir=/etc || return 1
24         make || return 1
25         make DESTDIR=$startdir/pkg install || return 1