blob: 1d9e7a0c2c79f0ad9280bc1f23f6a3f0e633bfbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $Id: PKGBUILD 211657 2014-04-22 13:55:57Z 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.15
pkgrel=1
pkgdesc="Service logging user activities and events"
arch=(i686 x86_64)
url="http://zeitgeist-project.com/"
license=(GPL2 LGPL2.1)
depends=(json-glib telepathy-glib gtk3)
makedepends=(intltool gobject-introspection vala raptor python2-rdflib gnome-common git)
provides=(zeitgeist-datahub)
conflicts=(zeitgeist-datahub)
replaces=(zeitgeist-datahub)
source=("$pkgname::git://anongit.freedesktop.org/$pkgname/$pkgname#commit=d2c966f")
sha256sums=('SKIP')
prepare() {
cd $pkgname
sed -i 's/python -/$PYTHON -/' configure.ac
sed -i '1s/python$/python2/' data/ontology2code
mkdir m4
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
export PYTHON=/usr/bin/python2
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$pkgname
make
}
check() {
cd $pkgname
# Log test fails in chroot, as we have no X and no proper dbus
make -k check || :
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}
|