summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libssh2/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/user/libssh2/APKBUILD b/user/libssh2/APKBUILD
index 1bfdfdef9..9497d8ace 100644
--- a/user/libssh2/APKBUILD
+++ b/user/libssh2/APKBUILD
@@ -1,17 +1,16 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
pkgname=libssh2
pkgver=1.8.0
-pkgrel=1
-pkgdesc="library for accessing ssh1/ssh2 protocol servers"
-url="http://libssh2.org/"
+pkgrel=2
+pkgdesc="Library for accessing SSH servers"
+url="https://libssh2.org/"
arch="all"
-license="BSD"
+options="!check" # Requires deprecated UsePrivilegeSeparation option.
+license="BSD-3-Clause"
makedepends_host="openssl-dev zlib-dev"
-options="!check"
-subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc"
-source="http://www.libssh2.org/download/libssh2-$pkgver.tar.gz"
-builddir="$srcdir"/libssh2-$pkgver
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://libssh2.org/download/libssh2-$pkgver.tar.gz"
prepare() {
cd "$builddir"
@@ -33,6 +32,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install