desktop/socat/PKGBUILD
2017-07-07 07:34:42 +01:00

27 lines
635 B
Bash

# Contribution from Archlinux: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/socat
pkgname=socat
pkgver=1.7.3.2
pkgrel=1
pkgdesc='Multipurpose relay'
url='http://www.dest-unreach.org/socat/'
license=('GPL2')
arch=('x86_64')
depends=('readline' 'openssl')
source=("http://www.dest-unreach.org/socat/download/${pkgname}-${pkgver}.tar.gz")
sha1sums=('28eca1f8efeadde3f96c1ac89e553c28d736d41d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}