aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2021-06-20 15:27:06 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-06-20 13:54:09 +0000
commit6ce965b7f7a61ff9f38f4d565ac8408d1b224bed (patch)
tree3f1565c365dc580c2393d97bd0162fc2945691ac
parent92c747cb5ec90d7b6ddbf24c7b895bbc983da432 (diff)
downloadaports-6ce965b7f7a61ff9f38f4d565ac8408d1b224bed.tar.gz
aports-6ce965b7f7a61ff9f38f4d565ac8408d1b224bed.tar.bz2
aports-6ce965b7f7a61ff9f38f4d565ac8408d1b224bed.tar.xz
community/libzip: upgrade to 1.8.0
-rw-r--r--community/libzip/APKBUILD20
1 files changed, 13 insertions, 7 deletions
diff --git a/community/libzip/APKBUILD b/community/libzip/APKBUILD
index d433fc658c..5fb640a19d 100644
--- a/community/libzip/APKBUILD
+++ b/community/libzip/APKBUILD
@@ -2,16 +2,16 @@
# Contributor: Jose-Luis Rivas <ghostbar@riseup.net>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=libzip
-pkgver=1.7.3
-pkgrel=2
+pkgver=1.8.0
+pkgrel=0
pkgdesc="C library for manipulating zip archives"
-url="http://www.nih.at/libzip/index.html"
+url="https://libzip.org/"
arch="all"
license="BSD-3-Clause"
-depends_dev="zlib-dev xz-dev"
+depends_dev="bzip2-dev xz-dev zlib-dev zstd-dev"
makedepends="$depends_dev cmake openssl-dev perl"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
-source="https://www.nih.at/libzip/libzip-$pkgver.tar.xz"
+source="https://libzip.org/download/libzip-$pkgver.tar.xz"
# secfixes:
# 1.3.0-r0:
@@ -21,6 +21,10 @@ build() {
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
+ -DENABLE_BZIP2=ON \
+ -DENABLE_LZMA=ON \
+ -DENABLE_OPENSSL=ON \
+ -DENABLE_ZSTD=ON \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_C_FLAGS="$CFLAGS"
make
@@ -31,7 +35,7 @@ check() {
}
package() {
- make DESTDIR="$pkgdir" -j1 install
+ make DESTDIR="$pkgdir" install
}
tools() {
@@ -40,4 +44,6 @@ tools() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
-sha512sums="488866348a0c859f6f995c50e956bd51b4105278f07b63fe019cb44ab36c09ef958cc0684fd5444c474d83874b999e8ed1aa9b2da51b74caa37bbe7934b9c870 libzip-1.7.3.tar.xz"
+sha512sums="
+fe94a26a2797dff7c9b27334f29982f8e523dd5095bf32ebcadc6443726864f0ff7b2e8bf243e52cad8f79297bc7a87d73fdbc35edae4ffc8ab6aa0bcc93b03e libzip-1.8.0.tar.xz
+"