void-packages/srcpkgs/gtksourceview/template

34 lines
987 B
Bash

# Template file for 'gtksourceview'
pkgname=gtksourceview
version=3.24.11
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static --enable-introspection"
hostmakedepends="automake pkg-config intltool gtk+3-devel glib-devel vala"
makedepends="gtk+3-devel libxml2-devel vala-devel"
short_desc="Text widget that extends GTK+3 GtkTextView widget"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Projects/GtkSourceView"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd
do_check() {
# Needs X
:
}
gtksourceview-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/vala
vmove usr/share/gtk-doc
}
}