summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libzip/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/user/libzip/APKBUILD b/user/libzip/APKBUILD
index 76b7a2ad8..32f0a956c 100644
--- a/user/libzip/APKBUILD
+++ b/user/libzip/APKBUILD
@@ -4,16 +4,15 @@
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=libzip
pkgver=1.5.1
-pkgrel=1
-pkgdesc="C library for manipulating zip archives"
-url="http://www.nih.at/libzip/index.html"
+pkgrel=2
+pkgdesc="C library for manipulating ZIP archives"
+url="https://libzip.org/"
arch="all"
license="BSD-3-Clause"
depends_dev="zlib-dev"
-makedepends="$depends_dev cmake libressl-dev perl"
+makedepends="$depends_dev cmake openssl-dev perl"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
-source="https://www.nih.at/libzip/$pkgname-$pkgver.tar.xz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="https://libzip.org/download/$pkgname-$pkgver.tar.xz"
# secfixes:
# 1.3.0:
@@ -25,7 +24,7 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS"
make