summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-20 21:18:14 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-22 02:22:33 -0300
commite1ac326198d332ed7ad29b0819c79f0c40f68c74 (patch)
tree9930d181af852f9f19366d26f2669b128881639b /libre
parenta5a15f7c2109c1187a910246b496c2fa5bc10bf8 (diff)
downloadabslibre-e1ac326198d332ed7ad29b0819c79f0c40f68c74.tar.gz
abslibre-e1ac326198d332ed7ad29b0819c79f0c40f68c74.tar.bz2
abslibre-e1ac326198d332ed7ad29b0819c79f0c40f68c74.zip
libssl2-static: add new package to [libre]
Diffstat (limited to 'libre')
-rw-r--r--libre/libssh2-static/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
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 <coadde@parabola.nu>
+# 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*
+}