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