desktop/socat/PKGBUILD
2016-03-02 05:12:37 +00: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.1
pkgrel=2
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=('a6f1d8ab3e85f565dbe172f33a9be6708dd52ffb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}