1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Alexander Rødseth <rodseth@gmail.com>
4 # Contributor: Hugo Doria <hugo@archlinux.org>
5 # Contributor: Sergej Chodarev <sergejx@centrum.sk>
6 # Contributor: zhuqin <zhuqin83@gmail.com>
11 pkgdesc="Collection of plugins for the gedit Text Editor"
12 url="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
15 depends=(gedit python-dbus python-cairo)
16 makedepends=(vte3 libgit2-glib gucharmap gobject-introspection vala yelp-tools
17 appstream-glib git meson)
18 optdepends=('gucharmap: for charmap plugin'
19 'vte3: for embedded terminal'
20 'libgit2-glib: for git plugin')
22 _commit=2afe0869918ee6a61a82969cd67d5c51acc15a6c # tags/42.1^0
23 source=("git+https://gitlab.gnome.org/GNOME/gedit-plugins.git#commit=$_commit")
28 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
36 arch-meson $pkgname build
37 meson compile -C build
41 meson test -C build --print-errorlogs
45 meson install -C build --destdir "$pkgdir"
46 python -m compileall -d /usr "$pkgdir/usr"
47 python -O -m compileall -d /usr "$pkgdir/usr"