[arch-commits] Commit in minizip-ng/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Fri Apr 29 17:11:51 UTC 2022


    Date: Friday, April 29, 2022 @ 17:11:51
  Author: arojas
Revision: 1191817

Enable MZ_COMPAT

Modified:
  minizip-ng/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-29 17:06:32 UTC (rev 1191816)
+++ PKGBUILD	2022-04-29 17:11:51 UTC (rev 1191817)
@@ -2,7 +2,7 @@
 
 pkgname=minizip-ng
 pkgver=3.0.6
-pkgrel=2
+pkgrel=3
 pkgdesc='Fork of the popular zip manipulation library found in the zlib distribution'
 arch=(x86_64)
 url='https://github.com/zlib-ng/minizip-ng'
@@ -15,7 +15,7 @@
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DMZ_COMPAT=OFF \
+    -DMZ_PROJECT_SUFFIX="-ng" \
     -DBUILD_SHARED_LIBS=ON
   cmake --build build
 }
@@ -22,6 +22,6 @@
 
 package() {
   DESTDIR="$pkgdir" cmake --install build
-  install -Dm644 $pkgname-$pkgver/mz_compat.h "$pkgdir"/usr/include # Needed by qmc2
+  rm "$pkgdir"/usr/include/{,un}zip.h # Conflict with libzip
   install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



More information about the arch-commits mailing list