updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / netpipes / PKGBUILD
blob975469e69d0a3637facc889c85cca5b493056f71
1 # Maintainer: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2 # Contributor: dorphell <dorphell@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=netpipes
6 pkgver=4.2
7 pkgrel=4
8 pkgdesc="The netpipes package makes TCP/IP streams usable in shell scripts"
9 arch=('i686' 'x86_64')
10 url="http://web.purplefrog.com/~thoth/netpipes/netpipes.html"
11 license=('GPL2')
12 depends=('glibc')
13 source=(http://web.purplefrog.com/~thoth/netpipes/ftp/$pkgname-$pkgver-export.tar.gz
14         netpipes.makefile.patch
15         netpipes.header.patch)
16 md5sums=('b58f8561d32bafaa6153d5e20fefa7df'
17          '9a6284700b4fab18bc45561cd869515b'
18          '161fc1c299debc08f420bef4e5db006a')
20 build() {
21   cd $srcdir/$pkgname-$pkgver-export
22   patch -p0 -i $srcdir/netpipes.makefile.patch || return 1
23   patch -p0 -i $srcdir/netpipes.header.patch || return 1
24   make || return 1
25   make DESTDIR=$pkgdir install