summaryrefslogtreecommitdiff
path: root/community/tcpflow/PKGBUILD
blob: 2ac14907443f5fa15f191b4477dee3f6fa2be0f3 (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
# $Id: PKGBUILD 75325 2012-08-19 20:50:53Z cbrannon $
# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
# Contributor: Jeff Mickey <jeff@archlinux.org>

pkgname=tcpflow
pkgver=1.2.9
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/downloads/simsong/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('99e2fbbc6ab8db03a1a9b935689dd407')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}