# Template file for 'rarian'
pkgname=rarian
version=0.8.1
revision=6
build_style=gnu-configure
hostmakedepends="pkg-config libxslt"
depends="bash"
short_desc="Documentation metadata library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://rarian.freedesktop.org/"
distfiles="${GNOME_SITE}/${pkgname}/0.8/${pkgname}-${version}.tar.bz2"
checksum=aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577
make_dirs="/var/lib/rarian 0755 root root"

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