[arch-commits] Commit in quazip/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu Aug 29 18:47:28 UTC 2019
Date: Thursday, August 29, 2019 @ 18:47:28
Author: arojas
Revision: 361387
Provide pkgconfig file (FS#62321)
Modified:
quazip/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-29 17:58:03 UTC (rev 361386)
+++ PKGBUILD 2019-08-29 18:47:28 UTC (rev 361387)
@@ -5,7 +5,7 @@
pkgname=quazip
pkgver=0.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
url="https://stachenov.github.io/quazip/"
license=(LGPL)
@@ -29,4 +29,11 @@
package() {
cd build
make DESTDIR="$pkgdir" install
+
+# generate pkgconfig
+ cd ../$pkgname-$pkgver/quazip
+ qmake quazip.pro
+ make pkgconfig/quazip.pc
+ install -Dm 644 pkgconfig/quazip.pc -t "$pkgdir"/usr/lib/pkgconfig/
+ sed -e 's|-lquazip|-lquazip5|' -i "$pkgdir"/usr/lib/pkgconfig/quazip.pc
}
More information about the arch-commits
mailing list