57 lines
1.5 KiB
Bash
57 lines
1.5 KiB
Bash
# Template file for 'zeitgeist'
|
||
pkgname=zeitgeist
|
||
version=1.0.1
|
||
revision=1
|
||
build_style=gnu-configure
|
||
configure_args="--enable-fts --enable-datahub $(vopt_enable gir introspection)"
|
||
hostmakedepends="automake libtool pkg-config gettext-devel
|
||
intltool vala-devel $(vopt_if gir gobject-introspection)"
|
||
makedepends="
|
||
python-rdflib json-glib-devel gtk+3-devel telepathy-glib-devel
|
||
python-gobject-devel dbus-devel sqlite-devel xapian-core-devel raptor"
|
||
depends="python-dbus python-gobject"
|
||
pycompile_module="zeitgeist"
|
||
short_desc="Logs the users’ activities and events"
|
||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||
homepage="https://launchpad.net/zeitgeist/"
|
||
license="LGPL-2.1"
|
||
distfiles="https://launchpad.net/zeitgeist/${version%.*}/${version}/+download/zeitgeist-${version}.tar.xz"
|
||
checksum=7de6a8e7b8aed33490437e522a9bf2e531681118c8cd91c052d554bbe64435bd
|
||
|
||
# Package build options
|
||
build_options="gir"
|
||
# Disable gir for cross builds.
|
||
if [ -z "$CROSS_BUILD" ]; then
|
||
build_options_default="gir"
|
||
fi
|
||
|
||
pre_configure() {
|
||
NOCONFIGURE=1 autoreconf -fi
|
||
}
|
||
|
||
post_install() {
|
||
rm -rf ${DESTDIR}/usr/doc
|
||
}
|
||
|
||
libzeitgeist2_package() {
|
||
short_desc+=" - shared library"
|
||
pkg_install() {
|
||
vmove usr/lib/*.so.*
|
||
if [ "$build_option_gir" ]; then
|
||
vmove usr/lib/girepository-1.0
|
||
fi
|
||
}
|
||
}
|
||
zeitgeist-devel_package() {
|
||
short_desc+=" - development files"
|
||
depends="libzeitgeist2-${version}_${revision}"
|
||
pkg_install() {
|
||
vmove usr/include
|
||
vmove usr/lib/pkgconfig
|
||
vmove usr/lib/*.so
|
||
vmove usr/share/vala
|
||
if [ "$build_option_gir" ]; then
|
||
vmove usr/share/gir-1.0
|
||
fi
|
||
}
|
||
}
|