From c7d37b22778fb7ae52e30ab816ab84d439dc1b0c Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Sun, 12 Jun 2022 04:25:12 +0000 Subject: user/gtksourceview4: new package --- user/gtksourceview4/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/gtksourceview4/APKBUILD (limited to 'user/gtksourceview4/APKBUILD') diff --git a/user/gtksourceview4/APKBUILD b/user/gtksourceview4/APKBUILD new file mode 100644 index 000000000..52ef634a8 --- /dev/null +++ b/user/gtksourceview4/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Síle Ekaterin Liszka +# Maintainer: Síle Ekaterin Liszka +pkgname=gtksourceview4 +_pkgreal=${pkgname%4} +pkgver=4.8.3 +pkgrel=0 +pkgdesc="GNOME library for syntax-highlighting code" +url="https://www.gnome.org/" +arch="all" +options="!check" # majority of tests fail with SIGTRAP +license="LGPL-2.1+ AND LGPL-2.0+ AND (Apache-2.0 or MIT~unspecified and/or LGPL-2.1+)" +depends="" +makedepends="glib-dev gobject-introspection-dev gtk-doc gtk+3.0-dev libxml2-dev meson ninja vala-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://download.gnome.org/sources/$_pkgreal/${pkgver%.*}/$_pkgreal-$pkgver.tar.xz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --wrap-mode=nofallback \ + -Dgtk_doc=true \ + . output + ninja -C output +} + +check() { + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="406fae70301336eb31a05474db28b792212fa82db5acc209322587838655416955f8a91a6e081a1d0a22330e199d1815b5dd9d3299bfc9894e127b38ed6be418 gtksourceview-4.8.3.tar.xz" -- cgit v1.2.3-70-g09d2