summaryrefslogtreecommitdiff
path: root/extra/libqzeitgeist
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
committerroot <root@rshg054.dnsready.net>2013-03-02 00:04:05 -0800
commit98aa0004e23472ee63753fded33cd55d8b942f36 (patch)
tree1299d9cfb8bcd6bd295a1a279b4ad322b4e9133a /extra/libqzeitgeist
parent5ae40a63ab4c6838234db5a9da1e99d8bc27875d (diff)
Sat Mar 2 00:04:03 PST 2013
Diffstat (limited to 'extra/libqzeitgeist')
-rw-r--r--extra/libqzeitgeist/PKGBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/extra/libqzeitgeist/PKGBUILD b/extra/libqzeitgeist/PKGBUILD
index a360b7116..ee930d067 100644
--- a/extra/libqzeitgeist/PKGBUILD
+++ b/extra/libqzeitgeist/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 147936 2012-01-28 11:01:16Z andrea $
+# $Id: PKGBUILD 178968 2013-03-01 10:21:57Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=libqzeitgeist
pkgver=0.8.0
-pkgrel=2
+pkgrel=3
pkgdesc="A Qt interface to the Zeitgeist event tracking system"
-url="https://projects.kde.org/projects/kdesupport/libqzeitgeist"
+url='https://projects.kde.org/projects/kdesupport/libqzeitgeist'
arch=('i686' 'x86_64')
license=('GPL')
-depends=('qt')
+depends=('qt4')
makedepends=('cmake' 'automoc4' 'python2' 'zeitgeist')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
'set-declarative-installation-dir.patch')
@@ -16,10 +16,12 @@ md5sums=('97bdea6a1865db7d5f29c93e3a492f24'
'712013e582acb73296e41ad842d0da01')
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ . /etc/profile.d/qt4.sh
+
+ cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/set-declarative-installation-dir.patch
+ cd ../
- cd "${srcdir}"
# Fix python2 path
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
${pkgname}-${pkgver}/scripts/onto2cpp.py
@@ -29,11 +31,11 @@ build() {
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DDECLARATIVE_IMPORT_PREFIX=/usr/lib/qt/imports/
+ -DDECLARATIVE_IMPORT_PREFIX=/usr/lib/qt4/imports/
make
}
package() {
- cd "${srcdir}"/build
+ cd build
make DESTDIR="${pkgdir}" install
}