[arch-commits] Commit in grantlee-qt4/repos (4 files)
Felix Yan
fyan at archlinux.org
Sun Mar 8 15:27:39 UTC 2015
Date: Sunday, March 8, 2015 @ 16:27:39
Author: fyan
Revision: 233088
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
grantlee-qt4/repos/testing-i686/
grantlee-qt4/repos/testing-i686/PKGBUILD
(from rev 233087, grantlee-qt4/trunk/PKGBUILD)
grantlee-qt4/repos/testing-x86_64/
grantlee-qt4/repos/testing-x86_64/PKGBUILD
(from rev 233087, grantlee-qt4/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: grantlee-qt4/repos/testing-i686/PKGBUILD (from rev 233087, grantlee-qt4/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-03-08 15:27:39 UTC (rev 233088)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=grantlee-qt4
+pkgver=0.5.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"
+license=('LGPL3')
+depends=('qt4')
+makedepends=('cmake' 'doxygen')
+replaces=('grantlee')
+conflicts=('grantlee')
+provides=('grantlee')
+source=("http://downloads.grantlee.org/grantlee-${pkgver}.tar.gz")
+md5sums=('775f22dac0953029b414ed3b7379098c')
+
+prepare() {
+ mkdir build
+
+ sed -e 's|INCLUDE_INSTALL_DIR include|INCLUDE_INSTALL_DIR include/grantlee-qt4|' -i grantlee-$pkgver/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../grantlee-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=OFF \
+ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: grantlee-qt4/repos/testing-x86_64/PKGBUILD (from rev 233087, grantlee-qt4/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-03-08 15:27:39 UTC (rev 233088)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=grantlee-qt4
+pkgver=0.5.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"
+license=('LGPL3')
+depends=('qt4')
+makedepends=('cmake' 'doxygen')
+replaces=('grantlee')
+conflicts=('grantlee')
+provides=('grantlee')
+source=("http://downloads.grantlee.org/grantlee-${pkgver}.tar.gz")
+md5sums=('775f22dac0953029b414ed3b7379098c')
+
+prepare() {
+ mkdir build
+
+ sed -e 's|INCLUDE_INSTALL_DIR include|INCLUDE_INSTALL_DIR include/grantlee-qt4|' -i grantlee-$pkgver/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../grantlee-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=OFF \
+ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list