diff options
author | root <root@rshg054.dnsready.net> | 2013-04-23 01:16:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-04-23 01:16:16 -0700 |
commit | d1d93fafb9ef98fdd0c9a5a486c179c03cbbfb33 (patch) | |
tree | da594e49962aa1b32a81dd8066423c4fd5fdcec6 /extra/zeitgeist | |
parent | a5f6ca5d4e1aa12dfec53c3061df6e0198126fb4 (diff) |
Tue Apr 23 01:16:16 PDT 2013
Diffstat (limited to 'extra/zeitgeist')
-rw-r--r-- | extra/zeitgeist/PKGBUILD | 50 |
1 files changed, 30 insertions, 20 deletions
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) <jan.steffens@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: György Balló <ballogy@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" } |