# Maintainer: Rasmus Thomsen pkgname=gtksourceview4 pkgver=4.2.0 pkgrel=0 pkgdesc="A text widget adding syntax highlighting and more to GNOME" url="https://wiki.gnome.org/Projects/GtkSourceView" arch="all" license="GPL-2.0-or-later" replaces="gtksourceview" depends_dev="gtk+3.0-dev libxml2-dev" makedepends="$depends_dev gobject-introspection-dev vala libxslt" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz" options="!check" # testsuite requires graphical interface builddir="$srcdir/gtksourceview-$pkgver" build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="f2350b1e7042309c01be0feda6059d788a7ef55c4ccd48e16b4c92a71292ed6f92243455ca42aa0950db61de8d68f4a76f4fac46cd46316b690bcef1ea34c641 gtksourceview-4.2.0.tar.xz"