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

Andrea Scarpino andrea at archlinux.org
Sat Oct 29 05:03:17 EDT 2011


    Date: Saturday, October 29, 2011 @ 05:03:17
  Author: andrea
Revision: 141322

Prepare next upstream release

Modified:
  libqzeitgeist/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-29 08:27:53 UTC (rev 141321)
+++ PKGBUILD	2011-10-29 09:03:17 UTC (rev 141322)
@@ -1,23 +1,29 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=libqzeitgeist
-pkgver=0.7.0
+pkgver=0.8.0
 pkgrel=1
 pkgdesc="A Qt interface to the Zeitgeist event tracking system"
 url="https://projects.kde.org/projects/kdesupport/libqzeitgeist"
 arch=('i686' 'x86_64')
 license=('GPL')
 depends=('qt')
-makedepends=('cmake')
-source=("http://releases.zeitgeist-project.com/qzeitgeist/QtZeitgeist-${pkgver}.tar.bz2")
-md5sums=('e58d4b988bbab812f8bd6878d87c0956')
+makedepends=('cmake' 'automoc4' 'python2')
+source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('97bdea6a1865db7d5f29c93e3a492f24')
 
 build() {
   cd "${srcdir}"
+
+  # Fix python2 path
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+    ${pkgname}-${pkgver}/scripts/onto2cpp.py
+
   mkdir build
   cd build
-  cmake ../QtZeitgeist-${pkgver}-Source \
+  cmake ../${pkgname}-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
 	-DCMAKE_INSTALL_PREFIX=/usr
   make



More information about the arch-commits mailing list