mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
29 lines
675 B
Bash
29 lines
675 B
Bash
pkgname=libssh2
|
|
pkgver=1.7.0
|
|
pkgrel=1
|
|
pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts"
|
|
url="http://www.libssh2.org/"
|
|
arch=('x86_64')
|
|
license=('BSD')
|
|
depends=('openssl')
|
|
makedepends=('zlib')
|
|
provides=('libssh2.so')
|
|
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
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|