Date: Wednesday, October 26, 2022 @ 23:08:55
  Author: heftig
Revision: 459339

archrelease: copy trunk to testing-x86_64

Added:
  gedit/repos/testing-x86_64/
  gedit/repos/testing-x86_64/PKGBUILD
    (from rev 459336, gedit/trunk/PKGBUILD)

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

Copied: gedit/repos/testing-x86_64/PKGBUILD (from rev 459336, 
gedit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2022-10-26 23:08:55 UTC (rev 459339)
@@ -0,0 +1,50 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gedit
+pkgver=42.2
+pkgrel=2
+pkgdesc="GNOME Text Editor"
+url="https://wiki.gnome.org/Apps/Gedit";
+arch=(x86_64)
+license=(GPL)
+depends=(gtksourceview4 gsettings-desktop-schemas libpeas gspell 
python-gobject)
+makedepends=(yelp-tools vala gobject-introspection git gtk-doc meson
+             appstream-glib desktop-file-utils libxml2)
+optdepends=('gedit-plugins: Additional features')
+conflicts=('gedit-code-assistance<=3.16.0+4+gd19b879-1')
+groups=(gnome-extra)
+options=(debug)
+_commit=7de455c111ad507385451aa23747f95ca75b18cb  # tags/42.2^0
+source=("git+https://gitlab.gnome.org/GNOME/gedit.git#commit=$_commit";
+        "git+https://gitlab.gnome.org/GNOME/libgd.git";)
+sha256sums=('SKIP'
+            'SKIP')
+
+pkgver() {
+  cd gedit
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd gedit
+
+  git submodule init
+  git submodule set-url subprojects/libgd "$srcdir/libgd"
+  git -c protocol.file.allow=always submodule update
+}
+
+build() {
+  arch-meson gedit build \
+    -D gtk_doc=true \
+    -D require_all_tests=true
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}

Reply via email to