summaryrefslogtreecommitdiff
path: root/extra/zeitgeist/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/zeitgeist/PKGBUILD')
-rw-r--r--extra/zeitgeist/PKGBUILD31
1 files changed, 16 insertions, 15 deletions
diff --git a/extra/zeitgeist/PKGBUILD b/extra/zeitgeist/PKGBUILD
index fe2652a11..1d9e7a0c2 100644
--- a/extra/zeitgeist/PKGBUILD
+++ b/extra/zeitgeist/PKGBUILD
@@ -1,47 +1,48 @@
-# $Id: PKGBUILD 211625 2014-04-21 18:17:51Z jgc $
+# $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.14
-pkgrel=2
+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)
+makedepends=(intltool gobject-introspection vala raptor python2-rdflib gnome-common git)
provides=(zeitgeist-datahub)
conflicts=(zeitgeist-datahub)
replaces=(zeitgeist-datahub)
-source=("https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz"
- gio-dependency.patch)
-sha256sums=('769b5abfe67ef632414efa1d35a1462c5cd86c8792bb4635b4c3d93a5f15f061'
- '4f2403b0695a6bf7b7cc10833e0e3a07d14fa22afeccc4ec89af0e89bbb35291')
+source=("$pkgname::git://anongit.freedesktop.org/$pkgname/$pkgname#commit=d2c966f")
+sha256sums=('SKIP')
prepare() {
- cd $pkgname-$pkgver
- sed -i 's/python -/$PYTHON -/' configure configure.ac
- patch -Np1 -i ../gio-dependency.patch
+ 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-$pkgver
+ cd $pkgname
export PYTHON=/usr/bin/python2
- autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$pkgname
make
}
check() {
- cd $pkgname-$pkgver
+ cd $pkgname
# Log test fails in chroot, as we have no X and no proper dbus
make -k check || :
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
make DESTDIR="$pkgdir" install
}