Date: Sunday, April 13, 2014 @ 10:56:22 Author: fyan Revision: 109309
upgpkg: tcpflow 1.4.4-1 Modified: tcpflow/trunk/PKGBUILD ----------+ PKGBUILD | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-04-13 08:35:54 UTC (rev 109308) +++ PKGBUILD 2014-04-13 08:56:22 UTC (rev 109309) @@ -1,19 +1,37 @@ # $Id$ -# Maintainer: Chris Brannon <cmbranno...@gmail.com> +# Maintainer: Felix Yan <felixonm...@gmail.com> +# Contributor: Chris Brannon <cmbranno...@gmail.com> # Contributor: Jeff Mickey <j...@archlinux.org> pkgname=tcpflow -pkgver=1.3.0 +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=('gcc-libs' 'libpcap' 'zlib') -source=("https://github.com/simsong/$pkgname/archive/$pkgname-$pkgver.tar.gz") +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 "$srcdir/$pkgname-$pkgname-$pkgver" + cd $pkgname sh bootstrap.sh ./configure --prefix=/usr --mandir=/usr/share/man make @@ -20,8 +38,7 @@ } package() { - cd "$srcdir/$pkgname-$pkgname-$pkgver" + cd $pkgname make DESTDIR="$pkgdir" install } -md5sums=('446be6d852bc7ddd0a8d5149f2bddb60')