# Template file for 'rarian'
pkgname=rarian
version=0.8.1
build_style=gnu-configure
revision=4
hostmakedepends="pkg-config libxslt"
short_desc="Documentation metadata library"
homepage="http://rarian.freedesktop.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/0.8/$pkgname-$version.tar.bz2"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577
long_desc="
 Rarian is a documentation metadata library based on the proposed
 Freedesktop.org spec."

post_install() {
	touch -f ${DESTDIR}/var/lib/rarian/.empty_on_purpose
}

rarian-devel_package() {
	depends="rarian>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove usr/lib/pkgconfig
	}
}

rarian_package() {
	depends="bash"
	pkg_install() {
		vmove usr
		vmove var
	}
}