blob: f3827fcbb9eb5cff9b94d29b019ddc96330b5921 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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*
}
|