[arch-commits] Commit in grantlee-qt4/repos/extra-i686 (PKGBUILD PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Sun Nov 9 10:10:03 UTC 2014
Date: Sunday, November 9, 2014 @ 11:10:03
Author: andrea
Revision: 225787
archrelease: copy trunk to extra-i686
Added:
grantlee-qt4/repos/extra-i686/PKGBUILD
(from rev 225786, grantlee-qt4/trunk/PKGBUILD)
Deleted:
grantlee-qt4/repos/extra-i686/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++-------------------------------------
1 file changed, 36 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-11-09 10:09:53 UTC (rev 225786)
+++ PKGBUILD 2014-11-09 10:10:03 UTC (rev 225787)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgbase=grantlee
-pkgname=('grantlee-qt4' 'grantlee-qt5')
-pkgver=0.5.1
-pkgrel=1
-pkgdesc="A string template engine based on the Django template system and written in Qt"
-arch=('i686' 'x86_64')
-url="https://www.gitorious.org/grantlee/pages/Home"
-license=('LGPL3')
-makedepends=('qt4' 'qt5-script' 'cmake' 'doxygen')
-source=("http://downloads.grantlee.org/${pkgbase}-${pkgver}.tar.gz")
-md5sums=('775f22dac0953029b414ed3b7379098c')
-
-prepare() {
- mkdir build{,-qt4}
-}
-
-build() {
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_TESTS=OFF \
- -DGrantlee_Qt5_TRANSITIONAL=ON
- make
-
- cd ../build-qt4
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DBUILD_TESTS=OFF \
- -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
- make
-}
-
-package_grantlee-qt5() {
- depends=('qt5-script')
- conflicts=('grantlee-qt4')
-
- cd build
- make DESTDIR="${pkgdir}" install
-}
-
-package_grantlee-qt4() {
- depends=('qt4')
- replaces=('grantlee')
- conflicts=('grantlee')
- provides=('grantlee')
-
- cd build-qt4
- make DESTDIR="${pkgdir}" install
-}
Copied: grantlee-qt4/repos/extra-i686/PKGBUILD (from rev 225786, grantlee-qt4/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-11-09 10:10:03 UTC (rev 225787)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=grantlee-qt4
+pkgver=0.5.1
+pkgrel=1
+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/${pkgbase}-${pkgver}.tar.gz")
+md5sums=('775f22dac0953029b414ed3b7379098c')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd ../build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=OFF \
+ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
+ make
+}
+
+package_grantlee() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list