* update minizip-ng to 4.0.7-1

This commit is contained in:
Alexander Baldeck 2024-07-26 18:52:10 +02:00
parent 33e0ef245c
commit a2bcca4c3f
3 changed files with 30 additions and 6 deletions

19
minizip-ng/.SRCINFO Normal file
View File

@ -0,0 +1,19 @@
pkgbase = minizip-ng
pkgdesc = Fork of the popular zip manipulation library found in the zlib distribution
pkgver = 4.0.7
pkgrel = 1
url = https://github.com/zlib-ng/minizip-ng
arch = x86_64
license = Zlib
makedepends = cmake
makedepends = git
depends = bzip2
depends = glibc
depends = openssl
depends = xz
depends = zlib
depends = zstd
source = git+https://github.com/zlib-ng/minizip-ng#tag=4.0.7
sha256sums = f4c388042d4911e625f02ac6a7bef0bf5b2fca2227c6ed7ec64c65ade98e33d0
pkgname = minizip-ng

View File

@ -0,0 +1,4 @@
[minizip-ng]
source = 'github'
github = 'zlib-ng/minizip-ng'
use_max_tag = true

View File

@ -2,7 +2,7 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=minizip-ng
pkgver=4.0.5
pkgver=4.0.7
pkgrel=1
pkgdesc='Fork of the popular zip manipulation library found in the zlib distribution'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -14,12 +14,13 @@ depends=(bzip2
xz
zlib
zstd)
makedepends=(cmake)
source=(https://github.com/zlib-ng/minizip-ng/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('9bb636474b8a4269280d32aca7de4501f5c24cc642c9b4225b4ed7b327f4ee73')
makedepends=(cmake
git)
source=(git+https://github.com/zlib-ng/minizip-ng#tag=$pkgver)
sha256sums=('f4c388042d4911e625f02ac6a7bef0bf5b2fca2227c6ed7ec64c65ade98e33d0')
build() {
cmake -B build -S $pkgname-$pkgver \
cmake -B build -S $pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DMZ_LIB_SUFFIX="-ng" \
-DBUILD_SHARED_LIBS=ON
@ -28,5 +29,5 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
install -Dm644 $pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}