# Template file for 'yelp'
pkgname=yelp
version=3.8.1
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-static"
hostmakedepends="pkg-config intltool itstool"
makedepends="bzip2-devel liblzma-devel sqlite-devel libgpg-error-devel
 libgcrypt-devel libxslt-devel libsoup-devel webkitgtk-devel yelp-xsl>=${version}"
short_desc="Help browser for GNOME desktop"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
checksum=73b3941316194dea8ea7d1d2b1f6612424c5d80ee1871ef627455893ad15606e

yelp-devel_package() {
	depends="yelp>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share/gtk-doc
	}
}

yelp_package() {
	depends="dconf>=0.16 hicolor-icon-theme desktop-file-utils yelp-xsl>=${version}"
	pkg_install() {
		vmove all
	}
}
