You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.5 KiB

# 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=1.0.3
pkgrel=3
pkgdesc="Service logging user activities and events"
arch=(x86_64)
url="https://launchpad.net/zeitgeist/"
license=(GPL2 LGPL2.1)
depends=(json-glib telepathy-glib gtk3 xapian-core sqlite)
makedepends=(gobject-introspection vala raptor python-rdflib git)
provides=(zeitgeist-datahub)
conflicts=(zeitgeist-datahub)
replaces=(zeitgeist-datahub)
_commit=c9c41bc881ffba1f993e9391c853b1a772d5052b
source=("git+https://anongit.freedesktop.org/git/zeitgeist/zeitgeist#commit=$_commit")
sha256sums=('SKIP')
validpgpkeys=('E4884AEEDE4CC02043C3D8045DECDBA89270E723') #Rico Tzschichholz <ricotz@ubuntu.com>
pkgver() {
cd $pkgname
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd $pkgname
# vala 0.52 fix
git cherry-pick -n 64ac3a6f94cd299e5e14945dc31b48f009dec152
git cherry-pick -n 5d26650f0da9d47ce69cd9b739ad7a6990071f39
git cherry-pick -n 702fdbac0e9174d9627813a267764c7448bc919f
autoreconf -fi
}
build() {
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib --enable-fts
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
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
}