diff --git a/minizip-ng/.SRCINFO b/minizip-ng/.SRCINFO new file mode 100644 index 0000000000..f408e18c2a --- /dev/null +++ b/minizip-ng/.SRCINFO @@ -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 diff --git a/minizip-ng/.nvchecker.toml b/minizip-ng/.nvchecker.toml new file mode 100644 index 0000000000..7f3d1b1d91 --- /dev/null +++ b/minizip-ng/.nvchecker.toml @@ -0,0 +1,4 @@ +[minizip-ng] +source = 'github' +github = 'zlib-ng/minizip-ng' +use_max_tag = true diff --git a/minizip-ng/PKGBUILD b/minizip-ng/PKGBUILD index f3810a1d98..9f857037d1 100644 --- a/minizip-ng/PKGBUILD +++ b/minizip-ng/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Antonio Rojas 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 }