core/libssh2/PKGBUILD

29 lines
677 B
Bash
Raw Normal View History

2011-07-24 05:03:25 +08:00
pkgname=libssh2
2018-10-28 00:45:28 +08:00
pkgver=1.8.0
2015-09-29 15:13:55 +08:00
pkgrel=1
2011-07-24 05:03:25 +08:00
pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts"
url="http://www.libssh2.org/"
arch=('x86_64')
2011-07-24 05:03:25 +08:00
license=('BSD')
depends=('openssl')
makedepends=('zlib')
2015-09-29 15:13:55 +08:00
provides=('libssh2.so')
2018-10-28 00:45:28 +08:00
source=("https://www.libssh2.org/download/$pkgname-$pkgver.tar.gz"{,.asc})
md5sums=('3d1147cae66e2959ea5441b183de1b1c'
2015-09-29 15:13:55 +08:00
'SKIP')
2018-10-28 00:50:46 +08:00
validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg
2011-07-24 05:03:25 +08:00
build() {
2015-09-29 15:13:55 +08:00
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
2011-07-24 05:03:25 +08:00
}
package() {
2015-09-29 15:13:55 +08:00
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2011-07-24 05:03:25 +08:00
}