[arch-commits] Commit in minizip-ng (3 files)

Antonio Rojas arojas at gemini.archlinux.org
Fri Apr 29 16:57:18 UTC 2022


    Date: Friday, April 29, 2022 @ 16:57:18
  Author: arojas
Revision: 1191814

archrelease: copy trunk to community-x86_64

Added:
  minizip-ng/repos/
  minizip-ng/repos/community-x86_64/
  minizip-ng/repos/community-x86_64/PKGBUILD
    (from rev 1191813, minizip-ng/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: minizip-ng/repos/community-x86_64/PKGBUILD (from rev 1191813, minizip-ng/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2022-04-29 16:57:18 UTC (rev 1191814)
@@ -0,0 +1,26 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=minizip-ng
+pkgver=3.0.6
+pkgrel=1
+pkgdesc='Fork of the popular zip manipulation library found in the zlib distribution'
+arch=(x86_64)
+url='https://github.com/zlib-ng/minizip-ng'
+license=(custom)
+depends=(openssl bzip2 zstd)
+makedepends=(cmake)
+source=(https://github.com/zlib-ng/minizip-ng/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('383fa1bdc28c482828a8a8db53f758dbd44291b641182724fda5df5b59cce543')
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON \
+    -DMZ_COMPAT=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list