# Template build file for 'gtkglarea'.
pkgname=gtkglarea
version=2.1.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gtk+-devel glu-devel"
short_desc="GTK/GL Area libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://mono-project.com/GtkGLArea"
license="GPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-${version}.tar.xz"
checksum=8e1e545877d2f5139300b54c2e3bcd70acf7d80a78421a894192186a64db82de

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