summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9761686a921fbb70d00d8f74a1b150ff1151a699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Mike Sampson <mike@sambodata.com>
# Contributor: Michal Soltys <soltys@ziu.info>

pkgname=nuttcp
pkgver=8.1.4
pkgrel=1
pkgdesc="TCP/UDP network testing tool - simple, easy to use, with interesting feature set."
arch=(i686 x86_64)
url="http://www.lcp.nrl.navy.mil/nuttcp/"
license=('GPL')
depends=('glibc')
install=nuttcp.install
source=(http://nuttcp.net/nuttcp/nuttcp-${pkgver}/nuttcp.c)
md5sums=('f3e236273f509f4f3993d9f842ffd860')

build() {
  cd $srcdir
  cc nuttcp.c -o nuttcp
}

package() {
  install -D -m0755 -o0 -g0 nuttcp $pkgdir/usr/bin/nuttcp
}