git » grantlee.git » commit 997beaa

Undo the qt/qt4 replacement

author Andrea Scarpino
2013-02-25 16:53:37 UTC
committer Andrea Scarpino
2013-02-25 16:53:37 UTC
parent e9f3ec108975ab0a92df2c8f9b5049e548cb09cf

Undo the qt/qt4 replacement

PKGBUILD +3 -6

diff --git a/PKGBUILD b/PKGBUILD
index 6a38303..f7c147a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,25 +2,22 @@
 
 pkgname=grantlee
 pkgver=0.3.0
-pkgrel=2
+pkgrel=1
 pkgdesc="A string template engine based on the Django template system and written in Qt"
 arch=('i686' 'x86_64')
 url="http://www.gitorious.org/grantlee/pages/Home"
 license=('LGPL3')
-depends=('qt4')
+depends=('qt')
 makedepends=('cmake' 'doxygen')
 source=("http://downloads.grantlee.org/${pkgname}-${pkgver}.tar.gz")
 md5sums=('195763a3238f51f8885881fc8012cd83')
 
 build() {
-  . /etc/profile.d/qt4.sh
-
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DBUILD_TESTS=OFF
+    -DCMAKE_BUILD_TYPE=Release
   make
 }