Skip to content

Instantly share code, notes, and snippets.

@Mic92

Mic92/PKGBUILD Secret

Created Dec 17, 2015
Embed
What would you like to do?
nuttcp PKGBUILD
pkgname=nuttcp
pkgver=7.3.3
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')
source=(http://nuttcp.net/nuttcp/nuttcp-${pkgver}/nuttcp.c)
build() {
cd "$srcdir"
cc nuttcp.c -o nuttcp
}
package() {
install -D -m0755 -o0 -g0 nuttcp $startdir/pkg/usr/bin/nuttcp
}
sha256sum=('dfbff3c38fb0cbdc474ca6d13539d425')
md5sums=('dfbff3c38fb0cbdc474ca6d13539d425')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment