Date: Wednesday, November 16, 2022 @ 17:18:07
Author: heftig
Revision: 1349218
archrelease: copy trunk to community-x86_64
Added:
gedit-plugins/repos/community-x86_64/
gedit-plugins/repos/community-x86_64/PKGBUILD
(from rev 1349217, gedit-plugins/trunk/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: gedit-plugins/repos/community-x86_64/PKGBUILD (from rev 1349217,
gedit-plugins/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2022-11-16 17:18:07 UTC (rev 1349218)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Ionut Biru <[email protected]>
+# Contributor: Alexander Rødseth <[email protected]>
+# Contributor: Hugo Doria <[email protected]>
+# Contributor: Sergej Chodarev <[email protected]>
+# Contributor: zhuqin <[email protected]>
+
+pkgname=gedit-plugins
+pkgver=42.1
+pkgrel=1
+pkgdesc="Collection of plugins for the gedit Text Editor"
+url="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
+arch=(x86_64)
+license=(GPL)
+depends=(gedit python-dbus python-cairo)
+makedepends=(vte3 libgit2-glib gucharmap gobject-introspection vala yelp-tools
+ appstream-glib git meson)
+optdepends=('gucharmap: for charmap plugin'
+ 'vte3: for embedded terminal'
+ 'libgit2-glib: for git plugin')
+options=(debug)
+_commit=2afe0869918ee6a61a82969cd67d5c51acc15a6c # tags/42.1^0
+source=("git+https://gitlab.gnome.org/GNOME/gedit-plugins.git#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+ python -m compileall -d /usr "$pkgdir/usr"
+ python -O -m compileall -d /usr "$pkgdir/usr"
+}
+
+# vim:set sw=2 et: