# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gedit-plugins pkgver=3.34.0 pkgrel=0 pkgdesc="Plugins for gedit, the GNOME text editor" url="https://wiki.gnome.org/Apps/Gedit/PluginsLists" arch="all" license="GPL-2.0-only" depends="python3 py3-gobject3 vte3 gucharmap py3-dbus" makedepends="glib-dev gtk+3.0-dev gtksourceview4-dev libpeas-dev gedit-dev vala libgit2-glib-dev itstool vte3-dev gucharmap-dev py-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=release \ -Dplugin_zeitgeist=false \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="d567550d2427efdb17b8aa1be391422ac5dad498254a76f1e4a87b014563c096adb8cc979c3bf612f641dade6bc7f1304a35d9b3327be6a861fd78cc576c3b05 gedit-plugins-3.34.0.tar.xz"