updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / tcpperf / PKGBUILD
blobdc30832d88ead0cc53c7a11f00c9ff217dcf2a32
1 # Contributor: Orivej Desh <smpuj@bk.ru>
2 # Maintainer: Orivej Desh <smpuj@bk.ru>
3 pkgname=tcpperf
4 pkgver=1.754
5 pkgrel=1
6 pkgdesc="A simple network performance testing utility"
7 arch=("i686" "x86_64")
8 url="http://www.wand.net.nz/~stj2/nsc/software.html"
9 license=("custom:BEERWARE")
10 depends=("glibc")
11 source=("http://www.wand.net.nz/~stj2/nsc/files/tcpperf-1.754.tar.gz")
12 md5sums=('8d34cb6ba5fa196d536c78f1b134534b')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16   make || return 1
17   install -D tcpperf "$pkgdir/usr/bin/tcpperf" || return 1
18   head tcpperf.c >LICENSE || return 1
19   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1