mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
27 lines
635 B
Bash
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
|
|
}
|