# Template file for 'gtksourceview'
pkgname=gtksourceview
version=3.8.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="gtk+3-devel>=3.8 libxml2-devel"
short_desc="Text widget that extends GTK+3 GtkTextView widget"
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=f08005bfa5ecb71b05c4046d585ae072f084c90003b281a3ced8d882b96fe3cd

gtksourceview-devel_package() {
	depends="gtk+3-devel libxml2-devel ${sourcepkg}-${version}_${revision}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/share/gir*"
		vmove usr/share/gtk-doc
	}
}

gtksourceview_package() {
	pkg_install() {
		vmove usr
	}
}
