updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ttcp / PKGBUILD
blob972f16a116707b532e5787e5a954b75bac499e6a
1 # Maintainer: Jonathan Liu <net147@gmail.com>
2 pkgname=ttcp
3 pkgver=20100419
4 pkgrel=1
5 pkgdesc="TCP benchmarking tool"
6 arch=('i686' 'x86_64')
7 url="http://www.pcausa.com/Utilities/pcattcp.htm"
8 license=('custom:Public Domain')
9 depends=('glibc')
10 source=("http://www.pcausa.com/Utilities/pcattcp/LinuxTTCP.zip"
11         "LICENSE")
12 md5sums=('5b4707910c24fec212609f862bc53749'
13          'd8d09df3d799fec1b0b8a080948ffbb2')
15 build() {
16   cd "${srcdir}/LinuxTTCP"
17   [ -f makefile ] && rm -f makefile
18   make ttcp
21 package() {
22   cd "$srcdir/LinuxTTCP"
23   install -D -m755 ttcp "${pkgdir}/usr/bin/ttcp"
24   install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/ttcp/LICENSE"
27 # vim:set ts=2 sw=2 et: