initial import
This commit is contained in:
26
socat/PKGBUILD
Normal file
26
socat/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=socat
|
||||
pkgver=1.8.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="Multipurpose relay"
|
||||
url='http://www.dest-unreach.org/socat/'
|
||||
license=('GPL-2')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('readline' 'libressl')
|
||||
source=("http://www.dest-unreach.org/socat/download/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('c0a04e697f03da35d8c630de038e837c544e4dc77dd5bfbe73198d88b2d21727d9062114c1c50925daa264178f3317bc11c5504d1358ab7b3e8bce15e3e2dff9')
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/share/man
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user