# Description: A text widget adding syntax highlighting.
# URL: http://www.gnome.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: glade vala

name=gtksourceview4
version=4.6.0
release=1
source=(https://ftp.gnome.org/pub/gnome/sources/gtksourceview/${version:0:3}/gtksourceview-$version.tar.xz)

build() {
	meson build gtksourceview-$version --prefix=/usr -Dglade_catalog=true
	ninja -C build -j ${JOBS:-1}
	DESTDIR=$PKG meson install -C build

	rm -r $PKG/usr/share/locale
}