[arch-commits] Commit in minizip-ng/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Apr 29 17:06:21 UTC 2022
Date: Friday, April 29, 2022 @ 17:06:21
Author: arojas
Revision: 1191815
Include mz_compat.h header
Modified:
minizip-ng/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-29 16:57:18 UTC (rev 1191814)
+++ PKGBUILD 2022-04-29 17:06:21 UTC (rev 1191815)
@@ -2,7 +2,7 @@
pkgname=minizip-ng
pkgver=3.0.6
-pkgrel=1
+pkgrel=2
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,12 +15,13 @@
build() {
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=ON \
- -DMZ_COMPAT=OFF
+ -DMZ_COMPAT=OFF \
+ -DBUILD_SHARED_LIBS=ON
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
+ install -Dm644 $pkgname-$pkgver/mz_compat.h "$pkgdir"/usr/include # Needed by qmc2
install -Dm644 $pkgname-$pkgver/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}
More information about the arch-commits
mailing list