void-packages/srcpkgs/gtksourceview2/template

26 lines
834 B
Bash

# Template file for 'gtksourceview2'
pkgname=gtksourceview2
version=2.10.5
revision=5
wrksrc="gtksourceview-${version}"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="gtk+-devel libxml2-devel"
short_desc="Text widget that extends GTK+ GtkTextView widget"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/gtksourceview/2.10/gtksourceview-${version}.tar.bz2"
checksum=c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e
gtksourceview2-devel_package() {
depends="gtk+-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}