summaryrefslogtreecommitdiff
path: root/extra/libqzeitgeist/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libqzeitgeist/PKGBUILD')
-rw-r--r--extra/libqzeitgeist/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/extra/libqzeitgeist/PKGBUILD b/extra/libqzeitgeist/PKGBUILD
index ee930d067..7e683cf9c 100644
--- a/extra/libqzeitgeist/PKGBUILD
+++ b/extra/libqzeitgeist/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 178968 2013-03-01 10:21:57Z andrea $
+# $Id: PKGBUILD 206552 2014-03-01 08:24:09Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=libqzeitgeist
@@ -15,22 +15,22 @@ source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pk
md5sums=('97bdea6a1865db7d5f29c93e3a492f24'
'712013e582acb73296e41ad842d0da01')
-build() {
- . /etc/profile.d/qt4.sh
+prepare() {
+ mkdir build
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/set-declarative-installation-dir.patch
- cd ../
# Fix python2 path
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
${pkgname}-${pkgver}/scripts/onto2cpp.py
+}
- mkdir build
+build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_PREFIX=/usr \
-DDECLARATIVE_IMPORT_PREFIX=/usr/lib/qt4/imports/
make
}