mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakraos.org
|
|
#
|
|
# maintainer almack
|
|
|
|
pkgname=zeitgeist
|
|
pkgver=1.0
|
|
pkgrel=1
|
|
pkgdesc="A service which logs the users's activities and events and makes relevant information available to other applications"
|
|
arch=('x86_64')
|
|
url="http://zeitgeist-project.com/"
|
|
license=('GPL')
|
|
depends=(json-glib telepathy-glib)
|
|
makedepends=(intltool gobject-introspection vala raptor python2-rdflib gnome-common git)
|
|
source=("$pkgname::git://anongit.freedesktop.org/$pkgname/$pkgname#commit=1bcc8585")
|
|
md5sums=('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 --disable-datahub
|
|
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
|
|
}
|