[arch-commits] Commit in json-glib/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Fri Apr 1 19:20:15 UTC 2022


    Date: Friday, April 1, 2022 @ 19:20:15
  Author: heftig
Revision: 441195

1.6.6-2: debug on

Modified:
  json-glib/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-01 19:20:08 UTC (rev 441194)
+++ PKGBUILD	2022-04-01 19:20:15 UTC (rev 441195)
@@ -4,7 +4,7 @@
 pkgbase=json-glib
 pkgname=(json-glib json-glib-docs)
 pkgver=1.6.6
-pkgrel=1
+pkgrel=2
 pkgdesc="JSON library built on GLib"
 url="https://wiki.gnome.org/Projects/JsonGlib"
 arch=(x86_64)
@@ -11,6 +11,7 @@
 license=(GPL)
 depends=(glib2)
 makedepends=(gobject-introspection git meson gi-docgen docbook-xsl)
+options=(debug)
 _commit=3cf2b53667a73376c852e08dcadd197a5f8325b9  # tags/1.6.6^0
 source=("git+https://gitlab.gnome.org/GNOME/json-glib.git#commit=$_commit")
 sha256sums=('SKIP')
@@ -17,7 +18,7 @@
 
 pkgver() {
   cd json-glib
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {



More information about the arch-commits mailing list