From e1ac326198d332ed7ad29b0819c79f0c40f68c74 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Wed, 20 Apr 2016 21:18:14 -0300 Subject: libssl2-static: add new package to [libre] --- libre/libssh2-static/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 libre/libssh2-static/PKGBUILD (limited to 'libre') diff --git a/libre/libssh2-static/PKGBUILD b/libre/libssh2-static/PKGBUILD new file mode 100644 index 000000000..f3827fcbb --- /dev/null +++ b/libre/libssh2-static/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Márcio Silva +# based of libssh2 + +_pkgname=libssh2 +pkgname=libssh2-static +pkgver=1.7.0 +pkgrel=2 +pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts (static libraries only)" +url="http://www.libssh2.org/" +arch=('i686' 'x86_64' 'armv7h') +license=('BSD') +depends=('openssl-static' 'libssh2') +makedepends=('zlib') +options=('staticlibs') +validpgpkeys=('914C533DF9B2ADA2204F586D78E11C6B279D5C91') # Daniel Stenberg +source=("http://www.libssh2.org/download/$_pkgname-$pkgver.tar.gz"{,.asc}) +md5sums=('b01662a210e94cccf2f76094db7dac5c' + 'SKIP') + +build() { + cd "$_pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$_pkgname-$pkgver" + + make DESTDIR="$pkgdir" install + + # remove conflicting files + rm -vr ${pkgdir}/usr/{include,lib/pkgconfig,share} + rm -v ${pkgdir}/usr/lib/lib*.so* +} -- cgit v1.2.3