# $Id: PKGBUILD 109310 2014-04-13 08:57:55Z fyan $ # Maintainer: Felix Yan # Contributor: Chris Brannon # Contributor: Jeff Mickey pkgname=tcpflow pkgver=1.4.4 pkgrel=1 pkgdesc="Captures data transmitted as part of TCP connections then stores the data conveniently" arch=('i686' 'x86_64') url="http://afflib.org/software/tcpflow" license=('GPL') depends=('libpcap' 'cairo') makedepends=('git' 'boost') source=("git+https://github.com/simsong/$pkgname.git#tag=$pkgname-$pkgver" 'git+https://github.com/simsong/be13_api.git' 'git+https://github.com/simsong/dfxml.git' 'git+https://github.com/joyent/http-parser.git') md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP') prepare() { cd $pkgname git submodule init git config submodule."src/be13_api".url "$srcdir/be13_api" git config submodule."src/dfxml".url "$srcdir/dfxml" git config submodule."src/http-parser".url "$srcdir/http-parser" git submodule update } build() { cd $pkgname sh bootstrap.sh ./configure --prefix=/usr --mandir=/usr/share/man make } package() { cd $pkgname make DESTDIR="$pkgdir" install }