# $Id: PKGBUILD 125383 2011-05-26 13:02:11Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Juergen Hoetzel # Contributor: John Proctor pkgname=socat pkgver=1.7.1.3 pkgrel=2 pkgdesc='Multipurpose relay' url='http://www.dest-unreach.org/socat/' license=('GPL2') arch=('i686' 'x86_64') depends=('readline' 'openssl' 'tcp_wrappers') source=("http://www.dest-unreach.org/socat/download/$pkgname-$pkgver.tar.gz") sha1sums=('5a42275da0d8a5182452b36535a74c3cdf21793b') build() { cd "$srcdir/$pkgname-$pkgver" ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }