# Template file for 'libzeitgeist'
pkgname=libzeitgeist
version=0.3.18
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel"
configure_args="--disable-static"
short_desc="Zeitgeist Client Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://launchpad.net/libzeitgeist"
license="LGPL-2.1"
distfiles="https://launchpad.net/${pkgname}/0.3/${version}/+download/${pkgname}-${version}.tar.gz"
checksum=82c128d97a68600518b8e3e65ef4d5b123c57f3d5dfa977c7ff733c0fdf80f73

post_install() {
	rm -rf ${DESTDIR}/usr/share/doc
}

libzeitgeist-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.so
		vmove usr/share/vala
		vmove usr/share/gtk-doc
	}
}
