summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 972f16a116707b532e5787e5a954b75bac499e6a (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
26
27
# Maintainer: Jonathan Liu <net147@gmail.com>
pkgname=ttcp
pkgver=20100419
pkgrel=1
pkgdesc="TCP benchmarking tool"
arch=('i686' 'x86_64')
url="http://www.pcausa.com/Utilities/pcattcp.htm"
license=('custom:Public Domain')
depends=('glibc')
source=("http://www.pcausa.com/Utilities/pcattcp/LinuxTTCP.zip"
        "LICENSE")
md5sums=('5b4707910c24fec212609f862bc53749'
         'd8d09df3d799fec1b0b8a080948ffbb2')

build() {
  cd "${srcdir}/LinuxTTCP"
  [ -f makefile ] && rm -f makefile
  make ttcp
}

package() {
  cd "$srcdir/LinuxTTCP"
  install -D -m755 ttcp "${pkgdir}/usr/bin/ttcp"
  install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/ttcp/LICENSE"
}

# vim:set ts=2 sw=2 et: