desktop/socat/PKGBUILD

27 lines
635 B
Bash
Raw Normal View History

2015-12-22 18:01:54 +08:00
# Contribution from Archlinux: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/socat
pkgname=socat
2017-07-07 14:34:42 +08:00
pkgver=1.7.3.2
pkgrel=1
2015-12-22 18:01:54 +08:00
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")
2017-07-07 14:34:42 +08:00
sha1sums=('28eca1f8efeadde3f96c1ac89e553c28d736d41d')
2015-12-22 18:01:54 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}