void-packages/srcpkgs/gtksourceview2/template

32 lines
912 B
Bash

# Template file for 'gtksourceview2'
pkgname=gtksourceview2
version=2.10.5
revision=6
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="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/gtksourceview/2.10/gtksourceview-${version}.tar.bz2"
checksum=c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e
python_version=2 #unverified
do_check() {
: #requires xserver
}
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"
}
}