From d1d93fafb9ef98fdd0c9a5a486c179c03cbbfb33 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 23 Apr 2013 01:16:16 -0700 Subject: Tue Apr 23 01:16:16 PDT 2013 --- extra/zeitgeist/PKGBUILD | 50 +++++++++++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 20 deletions(-) (limited to 'extra/zeitgeist/PKGBUILD') diff --git a/extra/zeitgeist/PKGBUILD b/extra/zeitgeist/PKGBUILD index f5da6633b..50457ccbe 100644 --- a/extra/zeitgeist/PKGBUILD +++ b/extra/zeitgeist/PKGBUILD @@ -1,36 +1,46 @@ -# $Id: PKGBUILD 169475 2012-10-21 21:14:01Z eric $ -# Maintainer: +# $Id: PKGBUILD 183481 2013-04-21 22:21:01Z heftig $ +# Maintainer: Jan Alexander Steffens (heftig) # Contributor: Andrea Scarpino # Contributor: György Balló 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" } -- cgit v1.2.3-54-g00ecf