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

2012-04-30 Thread Eric Bélanger
Date: Monday, April 30, 2012 @ 02:14:53
  Author: eric
Revision: 157928

db-move: moved zeitgeist from [testing] to [extra] (x86_64)

Added:
  zeitgeist/repos/extra-x86_64/
  zeitgeist/repos/extra-x86_64/PKGBUILD
(from rev 157926, zeitgeist/repos/testing-x86_64/PKGBUILD)
Deleted:
  zeitgeist/repos/testing-x86_64/

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Copied: zeitgeist/repos/extra-x86_64/PKGBUILD (from rev 157926, 
zeitgeist/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2012-04-30 06:14:53 UTC (rev 157928)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino and...@archlinux.org
+# Contributor: György Balló ball...@freestart.hu
+
+pkgname=zeitgeist
+pkgver=0.9.0
+pkgrel=1
+pkgdesc=A service which logs the users's activities and events and makes 
relevant information available to other applications
+arch=('i686' 'x86_64')
+url=http://zeitgeist-project.com/;
+license=('GPL')
+depends=('dbus-python' 'python2-gobject2' 'pyxdg' 'xapian-core')
+makedepends=('intltool' 'raptor' 'python2-rdflib')
+source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.bz2{,.asc})
+md5sums=('fc2706611f435a027cd520f0da0982d7'
+ '96e74a5050bf0daa961dd56b0f73fd5d')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i 's/python -/$PYTHON -/' configure
+  PYTHON=/usr/bin/python2 LIBS+=-lgmodule-2.0 ./configure --prefix=/usr \
+--sysconfdir=/etc --libexecdir=/usr/lib/zeitgeist --localstatedir=/var
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir zeitgeistdocdir=/usr/share/doc/zeitgeist install
+  install -D -m644 data/zeitgeist-daemon.bash_completion 
$pkgdir/usr/share/bash-completion/completions/zeitgeist-daemon
+}



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

2011-10-29 Thread Andrea Scarpino
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 and...@archlinux.org
+# Contributor: György Balló ball...@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 +
 zeitgeist-0.8.2/configure  2011-10-29 10:08:55.204860261 +
+@@ -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 +
 zeitgeist-0.8.2/configure.ac   2011-10-29 10:09:20.901741533 +
+@@ -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