[arch-commits] Commit in zeitgeist/repos (3 files)

Andrea Scarpino andrea at archlinux.org
Sat Oct 29 10:30:13 UTC 2011


    Date: Saturday, October 29, 2011 @ 06:30:12
  Author: andrea
Revision: 141328

archrelease: copy trunk to extra-any

Added:
  zeitgeist/repos/extra-any/
  zeitgeist/repos/extra-any/PKGBUILD
    (from rev 141327, zeitgeist/trunk/PKGBUILD)
  zeitgeist/repos/extra-any/python2.patch
    (from rev 141327, zeitgeist/trunk/python2.patch)

---------------+
 PKGBUILD      |   39 +++++++++++++++++++++++++++++++++++++++
 python2.patch |   22 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)

Copied: zeitgeist/repos/extra-any/PKGBUILD (from rev 141327, zeitgeist/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD	                        (rev 0)
+++ extra-any/PKGBUILD	2011-10-29 10:30:12 UTC (rev 141328)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=zeitgeist
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="A service which logs the users's activities and events and makes relevant information available to other applications"
+arch=('any')
+url="http://zeitgeist-project.com/"
+license=('GPL')
+depends=('dbus-python' 'python2-gobject2' 'pyxdg')
+makedepends=('intltool' 'raptor' 'python2-rdflib')
+source=("http://launchpad.net/$pkgname/0.8/$pkgver/+download/$pkgname-$pkgver.tar.gz"
+        'python2.patch')
+md5sums=('589e7de784d21177491780bffd11097d'
+         '2c8b0fa6a228088a556601128dfbbb3b')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Fix python2 path
+  sed -i 's|/usr/bin/python|/usr/bin/python2|' extra/rdfxml2py \
+    zeitgeist-daemon
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' zeitgeist-daemon.py
+  patch -Np1 -i "${srcdir}/python2.patch"
+
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}

Copied: zeitgeist/repos/extra-any/python2.patch (from rev 141327, zeitgeist/trunk/python2.patch)
===================================================================
--- extra-any/python2.patch	                        (rev 0)
+++ extra-any/python2.patch	2011-10-29 10:30:12 UTC (rev 141328)
@@ -0,0 +1,22 @@
+--- zeitgeist-0.8.2/configure~	2011-10-29 10:11:50.009654352 +0000
++++ zeitgeist-0.8.2/configure	2011-10-29 10:08:55.204860261 +0000
+@@ -5612,7 +5612,7 @@
+ # check for python-rdflib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python-rdflib" >&5
+ $as_echo_n "checking for python-rdflib... " >&6; }
+-echo "import rdflib" | python - 2>/dev/null
++echo "import rdflib" | $PYTHON - 2>/dev/null
+ if test $? -ne 0 ; then
+   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+--- zeitgeist-0.8.2/configure.ac~	2011-10-29 10:09:01.078242642 +0000
++++ zeitgeist-0.8.2/configure.ac	2011-10-29 10:09:20.901741533 +0000
+@@ -39,7 +39,7 @@
+ 
+ # check for python-rdflib
+ AC_MSG_CHECKING([for python-rdflib])
+-echo "import rdflib" | python - 2>/dev/null
++echo "import rdflib" | $PYTHON - 2>/dev/null
+ if test $? -ne 0 ; then
+   AC_MSG_FAILURE([failed.  Please install the python-rdflib package.])
+ else




More information about the arch-commits mailing list