[arch-commits] Commit in libqzeitgeist/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Mon Feb 18 23:44:08 UTC 2013


    Date: Tuesday, February 19, 2013 @ 00:44:08
  Author: andrea
Revision: 178260

upgpkg: libqzeitgeist 0.8.0-3

qt4 rebuild

Modified:
  libqzeitgeist/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-18 23:35:33 UTC (rev 178259)
+++ PKGBUILD	2013-02-18 23:44:08 UTC (rev 178260)
@@ -3,12 +3,12 @@
 
 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,10 @@
          '712013e582acb73296e41ad842d0da01')
 
 build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  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 +29,11 @@
   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
 }




More information about the arch-commits mailing list