# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gedit-plugins pkgver=3.34.1 pkgrel=3 pkgdesc="Plugins for gedit, the GNOME text editor" url="https://wiki.gnome.org/Apps/Gedit/PluginsLists" arch="all !s390x" # Limited by gedit-dev and gtksourceview4-dev license="GPL-2.0-only" depends="python3 py3-gobject3 vte3 gucharmap py3-dbus libpeas-python3" makedepends="glib-dev gtk+3.0-dev gtksourceview4-dev libpeas-dev gedit-dev vala libgit2-glib-dev itstool vte3-dev gucharmap-dev py3-dbus-dev meson" subpackages="$pkgname-lang $pkgname-doc" source="https://download.gnome.org/sources/gedit-plugins/${pkgver%.*}/gedit-plugins-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ -Dplugin_zeitgeist=false \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="7fe31c2b0a1381a44362bd6066422d182b2246e3f903f8cd83cde0467b9853620a445bea7878d93e95a0a71ac5d5dd081a1930d602007cf2a6ef00b1a45bebfc gedit-plugins-3.34.1.tar.xz"