diff options
-rw-r--r-- | user/gtksourceview4/APKBUILD | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/user/gtksourceview4/APKBUILD b/user/gtksourceview4/APKBUILD new file mode 100644 index 000000000..2418a782e --- /dev/null +++ b/user/gtksourceview4/APKBUILD @@ -0,0 +1,57 @@ +# Contributor: Síle Ekaterin Liszka <sheila@adelielinux.org> +# Maintainer: Síle Ekaterin Liszka <sheila@adelielinux.org> +pkgname=gtksourceview4 +pkgver=5.4.1 +pkgrel=0 +pkgdesc="GTK widget for syntax-highlighting source code" +url="https://wiki.gnome.org/Projects/GtkSourceView/" +arch="all" +license="LGPL-2.1+ AND LGPL-2.0+ AND (Apache-2.0 OR MIT OR LGPL-2.1+) AND CC-BY-SA-3.0" +depends="" +# MAINTAINERS: if you see any 'git clone' in the build logs, +# ensure that the dependency is added to this list to use ours. +makedepends=" + cmake + cairo-dev + pango-dev + harfbuzz-dev + glib-dev + gtk4-dev + meson + ninja + pcre2-dev + libjpeg-turbo-dev + libxkbcommon-dev + wayland-dev + libxrandr-dev + libxi-dev + libxcursor-dev + libxinerama-dev + gi-docgen `# will be needed for docs` + " +subpackages="$pkgname-dev `#$pkgname-doc`" +source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz" +builddir="$srcdir/gtksourceview-$pkgver" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + `#-Dgtk_doc=true` \ + . output + ninja -C output +} + +check() { +# Add test instructions here. +: +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="5270db969455ad29498a02a851802228575c9b4b6cf6d4f9736bff95f869f1052550034fe6cc4f0c8d29174559d147068dcd088ab09b2008399f7a717aced298 gtksourceview-5.4.1.tar.xz" |