[arch-commits] Commit in quazip/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue May 1 08:44:01 UTC 2018
Date: Tuesday, May 1, 2018 @ 08:43:59
Author: arojas
Revision: 318560
Move cmake file to the standard location so this doesn't have to be rebuilt for every new cmake release
Modified:
quazip/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-01 08:15:37 UTC (rev 318559)
+++ PKGBUILD 2018-05-01 08:43:59 UTC (rev 318560)
@@ -6,7 +6,7 @@
pkgname=quazip
pkgver=0.7.3
-pkgrel=3
+pkgrel=4
pkgdesc="C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
url="http://sourceforge.net/projects/quazip/"
license=('LGPL')
@@ -17,6 +17,11 @@
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
sha512sums=('d4b55bd040e47e97e7bd5d080399ae4aa5fbc4985d6ab5979b468abc852c91b2e3e5d35af90d4b4de3bb01ea9135d0247473d6eab0413392b1c8567dc799a9fe')
+prepare() {
+ # Fix cmake module install dir
+ sed -e 's|${CMAKE_ROOT}/Modules|${CMAKE_INSTALL_PREFIX}/lib/cmake/QuaZip|' -i $pkgname-$pkgver/CMakeLists.txt
+}
+
build() {
cd "${srcdir}"
More information about the arch-commits
mailing list