void-packages/srcpkgs/gtksourceview2/template

31 lines
882 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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/gtksourceview/2.10/gtksourceview-${version}.tar.bz2"
checksum=c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e
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"
}
}