#Packager: George Vlahavas pkgname=gtksourceview4 pkgver=4.8.2 _mainver=`echo $pkgver | cut -d'.' -f1,2` pkgrel=1gv source=("https://download-fallback.gnome.org/sources/gtksourceview/${_mainver}/gtksourceview-${pkgver}.tar.xz") docs=("readme.md" "install" "copying" "changelog" "authors" "news" "todo" "hacking") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gtksourceview4 (GNOME library that extends GtkTextView)" "GtkSourceView is a GNOME library that extends GtkTextView, the" "standard GTK+ widget for multiline text editing. GtkSourceView adds" "support for syntax highlighting, undo/redo, file loading and saving," "search and replace, a completion system, printing, displaying line" "numbers, and other features typical of a source code editor." ) build() { cd $startdir/src/gtksourceview-$pkgver meson build \ -D prefix=/usr \ -D libdir=/usr/lib${LIBDIRSUFFIX} \ -D glade_catalog=false \ -D gtk_doc=true meson compile -C build meson install -C build --destdir $startdir/pkg/ }