[arch-commits] Commit in grantlee-qt4/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Sun Mar 8 15:27:14 UTC 2015


    Date: Sunday, March 8, 2015 @ 16:27:14
  Author: fyan
Revision: 233087

upgpkg: grantlee-qt4 0.5.1-2

make qt4 and qt5 versions coinstallable (FS#44093)

Modified:
  grantlee-qt4/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-08 15:20:23 UTC (rev 233086)
+++ PKGBUILD	2015-03-08 15:27:14 UTC (rev 233087)
@@ -3,7 +3,7 @@
 
 pkgname=grantlee-qt4
 pkgver=0.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A string template engine based on the Django template system and written in Qt4"
 arch=('i686' 'x86_64')
 url="https://www.gitorious.org/grantlee/pages/Home"
@@ -18,10 +18,12 @@
 
 prepare() {
   mkdir build
+
+  sed -e 's|INCLUDE_INSTALL_DIR include|INCLUDE_INSTALL_DIR include/grantlee-qt4|' -i grantlee-$pkgver/CMakeLists.txt
 }
 
 build() {
-  cd ../build
+  cd build
   cmake ../grantlee-${pkgver} \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \



More information about the arch-commits mailing list