updated on Sun Jan 8 12:02:35 UTC 2012
[aur-mirror.git] / nettee / PKGBUILD
blob2616859dd5bcac3185c755ac6dd79693e6141227
1 # Contributor: Nathan Owe <ndowens.aur at gmail dot com>
2 pkgname=nettee
3 pkgver=0.1.9.1
4 pkgrel=2
5 pkgdesc="A network "tee" program that can typically transfer data between "N" nodes."
6 arch=('i686' 'x86_64')
7 url="http://saf.bio.caltech.edu/nettee.html"
8 license=('GPL2')
9 if [[ $CARCH == "x86_64" ]]; then
10   depends=('bash' 'lib32-glibc')
11 else
12 depends=('glibc' 'bash')
14 source=(http://saf.bio.caltech.edu/pub/software/linux_or_unix_tools/$pkgname.tar.gz)
15 md5sums=('ec8e6dd7b4a37eca724495e44988eb53') 
17 build() {
18   cd $srcdir/$pkgname-$pkgver
19   
20   install -d $pkgdir/usr/share/{man/man1,$pkgname}
22   install -Dm644 {pdist_*.sh,nettee,README.TXT} $pkgdir/usr/share/$pkgname/
24   install nettee.1 $pkgdir/usr/share/man/man1/
26   install -Dm755 $pkgdir/usr/share/$pkgname/nettee $pkgdir/usr/bin/nettee
27