archrelease: copy trunk to staging-x86_64
[arch-packages.git] / socat / trunk / PKGBUILD
blobd80714760232225e3c88cc8b3066b7ae5cf1e22f
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Gaetan Bisson <bisson@archlinux.org>
3 # Contributor: Juergen Hoetzel <juergen@archlinux.org>
4 # Contributor: John Proctor <jproctor@prium.net>
6 pkgname=socat
7 pkgver=1.7.4.4
8 pkgrel=1
9 pkgdesc='Multipurpose relay'
10 url='http://www.dest-unreach.org/socat/'
11 license=('GPL2')
12 arch=('x86_64')
13 depends=('glibc' 'readline' 'libreadline.so' 'openssl')
14 checkdepends=('bash' 'net-tools' 'procps-ng')
15 source=("http://www.dest-unreach.org/socat/download/${pkgname}-${pkgver}.tar.gz")
16 sha256sums=('0f8f4b9d5c60b8c53d17b60d79ababc4a0f51b3bb6d2bd3ae8a6a4b9d68f195e')
17 b2sums=('11330c8275b01a11644fd9f24cc4a197d81f367705fe0d4300a76d69f501b72c554f3719323c2e557a9dc372bc0aa10db13788b02b07227342b072d665523e79')
19 build() {
20   cd "${pkgname}-${pkgver}"
21   ./configure \
22     --prefix=/usr \
23     --mandir=/usr/share/man \
25   make
28 check() {
29   cd "${pkgname}-${pkgver}"
30   # TODO: one of the tests always fails, but lets keep
31   # it for manual sanity check
32   make test||true
35 package() {
36   cd "${pkgname}-${pkgver}"
37   make DESTDIR="${pkgdir}" install
40 # vim: ts=2 sw=2 et: