Skip to content
Snippets Groups Projects
Commit 701d88cc authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

0.9.12

parent 0614bea4
No related branches found
Tags 0.9.12-1
No related merge requests found
# Maintainer:
# 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"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment