Date: Tuesday, November 22, 2022 @ 22:49:15
  Author: arojas
Revision: 1351925

archrelease: copy trunk to community-staging-x86_64

Added:
  gedit/repos/community-staging-x86_64/
  gedit/repos/community-staging-x86_64/PKGBUILD
    (from rev 1351924, gedit/trunk/PKGBUILD)

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

Copied: gedit/repos/community-staging-x86_64/PKGBUILD (from rev 1351924, 
gedit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-11-22 22:49:15 UTC (rev 1351925)
@@ -0,0 +1,72 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gedit
+pkgver=43.2
+pkgrel=2
+pkgdesc="GNOME Text Editor"
+url="https://wiki.gnome.org/Apps/Gedit";
+arch=(x86_64)
+license=(GPL)
+depends=(
+  amtk
+  gsettings-desktop-schemas
+  gspell
+  libpeas
+  python-gobject
+  tepl
+)
+makedepends=(
+  appstream-glib
+  desktop-file-utils
+  git
+  gobject-introspection
+  gtk-doc
+  meson
+  vala
+  yelp-tools
+)
+optdepends=('gedit-plugins: Additional features')
+conflicts=('gedit-code-assistance<=3.16.0+4+gd19b879-1')
+groups=(gnome-extra)
+options=(debug)
+_commit=d1f190395f1402cf319500185df0f92d18303dab  # tags/43.2^0
+source=(
+  "git+https://gitlab.gnome.org/GNOME/gedit.git#commit=$_commit";
+  "git+https://gitlab.gnome.org/GNOME/libgd.git";
+)
+b2sums=('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() {
+  local meson_options=(
+    -D gtk_doc=true
+    -D require_all_tests=true
+  )
+
+  arch-meson gedit build "${meson_options[@]}"
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et:

Reply via email to