summaryrefslogtreecommitdiff
path: root/extra/socat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/socat/PKGBUILD')
-rw-r--r--extra/socat/PKGBUILD30
1 files changed, 16 insertions, 14 deletions
diff --git a/extra/socat/PKGBUILD b/extra/socat/PKGBUILD
index 1ed30bf7f..1d1af26d0 100644
--- a/extra/socat/PKGBUILD
+++ b/extra/socat/PKGBUILD
@@ -1,29 +1,31 @@
-# $Id: PKGBUILD 87629 2010-08-17 13:33:30Z bisson $
-# Maintainer:
+# $Id: PKGBUILD 125383 2011-05-26 13:02:11Z bisson $
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=socat
pkgver=1.7.1.3
-pkgrel=1
-pkgdesc='Relay for bidirectional data transfer via socket, pty, pipe, file and more'
-arch=('i686' 'x86_64')
-license=('GPL2')
+pkgrel=2
+pkgdesc='Multipurpose relay'
url='http://www.dest-unreach.org/socat/'
+license=('GPL2')
+arch=('i686' 'x86_64')
depends=('readline' 'openssl' 'tcp_wrappers')
-makedepends=('imake')
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 depend || return 1
- make || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
}