Date: Wednesday, November 16, 2022 @ 17:18:06
  Author: heftig
Revision: 1349217

extra2community: Moving gedit-plugins from extra to community

Added:
  gedit-plugins/
  gedit-plugins/repos/
  gedit-plugins/trunk/
  gedit-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Added: gedit-plugins/trunk/PKGBUILD
===================================================================
--- gedit-plugins/trunk/PKGBUILD                                (rev 0)
+++ gedit-plugins/trunk/PKGBUILD        2022-11-16 17:18:06 UTC (rev 1349217)
@@ -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:

Reply via email to