# Template file for 'gdl'
pkgname=gdl
version=3.10.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libxml2-devel gtk+3-devel"
short_desc="GNOME Docking Library"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="https://developer.gnome.org/gdl/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=4e0d6f66115ba3b0f3cd2495d8a95c6714d701f89d556bb691bd0c0a62a1c760

gdl-devel_package() {
	short_desc+=" - Development files"
	depends="gdl>=${version}"
	pkg_install() {
		vmove usr/share/gir-1.0
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}

gdl-doc_package() {
	short_desc+=" - Documentation"
	noarch=yes
	pkg_install() {
		vmove usr/share/gtk-doc
	}
}