[arch-commits] Commit in grantlee-qt4/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Dec 6 20:28:33 UTC 2015
Date: Sunday, December 6, 2015 @ 21:28:32
Author: bpiotrowski
Revision: 252989
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
grantlee-qt4/repos/staging-i686/
grantlee-qt4/repos/staging-i686/PKGBUILD
(from rev 252988, grantlee-qt4/trunk/PKGBUILD)
grantlee-qt4/repos/staging-x86_64/
grantlee-qt4/repos/staging-x86_64/PKGBUILD
(from rev 252988, grantlee-qt4/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: grantlee-qt4/repos/staging-i686/PKGBUILD (from rev 252988, grantlee-qt4/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-06 20:28:32 UTC (rev 252989)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=grantlee-qt4
+pkgver=0.5.1
+pkgrel=3
+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/staging-x86_64/PKGBUILD (from rev 252988, grantlee-qt4/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-06 20:28:32 UTC (rev 252989)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=grantlee-qt4
+pkgver=0.5.1
+pkgrel=3
+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