gtksourceview4: install glade catalog

- move vala files to -devel
This commit is contained in:
Rasmus Thomsen 2018-09-18 21:29:10 +02:00 committed by maxice8
parent 3833414ad8
commit daf75753fa
1 changed files with 6 additions and 4 deletions

View File

@ -1,13 +1,13 @@
# Template file for 'gtksourceview4'
pkgname=gtksourceview4
version=4.0.3
revision=1
revision=2
wrksrc="gtksourceview-${version}"
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection)"
configure_args="--enable-glade-catalog $(vopt_enable gir introspection)"
hostmakedepends="gtk+3-devel glib-devel itstool libxslt pkg-config
$(vopt_if gir "gobject-introspection")"
makedepends="gtk+3-devel libgladeui3 libglib-devel libxml2-devel vala-devel"
makedepends="glade3-devel gtk+3-devel libglib-devel libxml2-devel vala-devel"
short_desc="Text widget that extends GTK+ GtkTextView widget"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="GPL-2.0-or-later"
@ -33,12 +33,14 @@ do_check() {
}
gtksourceview4-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
depends="gtk+3-devel libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/glade
vmove usr/share/vala
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi