archrelease: copy trunk to extra-x86_64
[arch-packages.git] / socat / repos / extra-x86_64 / PKGBUILD
blobf5cbe630841c4458ba8fbe4c2b659b69975144ba
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.3
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=('d697245144731423ddbbceacabbd29447089ea223e9a439b28f9ff90d0dd216e')
17 b2sums=('d91de7ef55332001e6439f64130555b9558338fb9b6c15c91ab5efc8f86a2e7e0f5fe0b292754731a198d83be5f511c3388c65c7c7f559c55691f42703f1849b')
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: