[arch-commits] Commit in grantlee-qt5/repos (4 files)

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


    Date: Thursday, April 28, 2016 @ 09:03:54
  Author: arojas
Revision: 266407

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  grantlee-qt5/repos/testing-i686/
  grantlee-qt5/repos/testing-i686/PKGBUILD
    (from rev 266406, grantlee-qt5/trunk/PKGBUILD)
  grantlee-qt5/repos/testing-x86_64/
  grantlee-qt5/repos/testing-x86_64/PKGBUILD
    (from rev 266406, grantlee-qt5/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: grantlee-qt5/repos/testing-i686/PKGBUILD (from rev 266406, grantlee-qt5/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-04-28 07:03:54 UTC (rev 266407)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=grantlee-qt5
+pkgver=5.1.0
+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"
+license=('LGPL3')
+depends=('qt5-script')
+makedepends=('cmake' 'doxygen')
+source=("http://downloads.grantlee.org/grantlee-${pkgver}.tar.gz")
+md5sums=('57989ae9f7c113e682ef1713a6f1e92a')
+
+prepare() {
+  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() {
+  cd build
+  cmake ../grantlee-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: grantlee-qt5/repos/testing-x86_64/PKGBUILD (from rev 266406, grantlee-qt5/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-04-28 07:03:54 UTC (rev 266407)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=grantlee-qt5
+pkgver=5.1.0
+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"
+license=('LGPL3')
+depends=('qt5-script')
+makedepends=('cmake' 'doxygen')
+source=("http://downloads.grantlee.org/grantlee-${pkgver}.tar.gz")
+md5sums=('57989ae9f7c113e682ef1713a6f1e92a')
+
+prepare() {
+  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() {
+  cd build
+  cmake ../grantlee-${pkgver} \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTS=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list