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

Jan Steffens heftig at nymeria.archlinux.org
Mon Apr 15 18:41:24 UTC 2013


    Date: Monday, April 15, 2013 @ 20:41:23
  Author: heftig
Revision: 182841

0.9.12

Modified:
  zeitgeist/trunk/PKGBUILD

----------+
 PKGBUILD |   48 +++++++++++++++++++++++++++++-------------------
 1 file changed, 29 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-15 16:29:09 UTC (rev 182840)
+++ PKGBUILD	2013-04-15 18:41:23 UTC (rev 182841)
@@ -1,36 +1,46 @@
 # $Id$
-# Maintainer:
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: György Balló <ballogy at freestart.hu>
 
 pkgname=zeitgeist
-pkgver=0.9.5
+pkgver=0.9.12
 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')
+pkgdesc="Service logging user activities and events"
+arch=(i686 x86_64)
 url="http://zeitgeist-project.com/"
-license=('GPL')
-depends=('python2-dbus' 'python2-gobject2' 'python2-xdg' 'xapian-core')
-makedepends=('intltool' 'raptor' 'python2-rdflib')
-checkdepends=('vala')
-source=("https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.bz2")
-md5sums=('5841e4624b07ba74866fb177f1c9aae7')
+license=(GPL2 LGPL2.1)
+depends=(sqlite json-glib telepathy-glib gtk3)
+makedepends=(intltool gobject-introspection vala raptor python2-rdflib)
+provides=(zeitgeist-datahub)
+conflicts=(zeitgeist-datahub)
+replaces=(zeitgeist-datahub)
+options=('!libtool')
+source=("https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz")
+sha256sums=('f9b1b656dcd4da57438289316d44f8960ce0ee4773ea2fbab4bce165330f41cd')
 
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's/python -/$PYTHON -/' configure configure.ac
+}
+
 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
+  cd $pkgname-$pkgver
+  export PYTHON=/usr/bin/python2
+  autoreconf -fi
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname
   make
 }
 
 check() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make -j1 check
+  cd $pkgname-$pkgver
+  # Log test fails in chroot, as we have no X and no proper dbus
+  make -k check || :
 }
 
 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"
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install #zeitgeistdocdir=/usr/share/doc/zeitgeist install
+  #install -D -m644 data/zeitgeist-daemon.bash_completion "$pkgdir/usr/share/bash-completion/completions/zeitgeist-daemon"
 }




More information about the arch-commits mailing list