summaryrefslogtreecommitdiff
path: root/user/libssh2/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 04:45:26 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 04:45:26 -0500
commit62ebb14d88d1592617a2cd72e239535eb5e582d9 (patch)
tree754b87921f7bbf87fb830efdee40e765e35387f5 /user/libssh2/APKBUILD
parent9a689fedeee1984c1b89fdc5c376569d58d23357 (diff)
downloadpackages-62ebb14d88d1592617a2cd72e239535eb5e582d9.tar.gz
packages-62ebb14d88d1592617a2cd72e239535eb5e582d9.tar.bz2
packages-62ebb14d88d1592617a2cd72e239535eb5e582d9.tar.xz
packages-62ebb14d88d1592617a2cd72e239535eb5e582d9.zip
user/libssh2: [PD] fix
Diffstat (limited to 'user/libssh2/APKBUILD')
-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