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

Antonio Rojas arojas at archlinux.org
Thu Apr 28 07:03:21 UTC 2016


    Date: Thursday, April 28, 2016 @ 09:03:21
  Author: arojas
Revision: 266406

Unbreak nested templates (FS#49102)

Modified:
  grantlee-qt5/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-28 07:02:14 UTC (rev 266405)
+++ PKGBUILD	2016-04-28 07:03:21 UTC (rev 266406)
@@ -3,7 +3,7 @@
 
 pkgname=grantlee-qt5
 pkgver=5.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A string template engine based on the Django template system and written in Qt5"
 arch=('i686' 'x86_64')
 url="https://www.gitorious.org/grantlee/pages/Home"
@@ -14,7 +14,11 @@
 md5sums=('57989ae9f7c113e682ef1713a6f1e92a')
 
 prepare() {
-  mkdir build
+  mkdir -p build
+
+# Unbreak nested templates https://github.com/steveire/grantlee/issues/27
+  cd grantlee-$pkgver
+  find -type f -name '*.h' -exec sed -e 's|>>|> >|g' -i {} \;
 }
 
 build() {



More information about the arch-commits mailing list