Date: Sunday, February 13, 2022 @ 00:52:07
  Author: heftig
Revision: 437057

2022.1-1

Modified:
  gi-docgen/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-02-13 00:51:57 UTC (rev 437056)
+++ PKGBUILD    2022-02-13 00:52:07 UTC (rev 437057)
@@ -1,8 +1,8 @@
 # Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org>
 
 pkgname=gi-docgen
-pkgver=2021.8+3+g50d4de9
-pkgrel=3
+pkgver=2022.1
+pkgrel=1
 pkgdesc="Documentation generator for GObject-based libraries"
 url="https://gnome.pages.gitlab.gnome.org/gi-docgen/";
 arch=(any)
@@ -10,13 +10,13 @@
 depends=(python-jinja python-markdown python-markupsafe python-pygments
          python-toml python-typogrify)
 makedepends=(python-setuptools git)
-_commit=50d4de940f97c017a79012ae741a0e98b51c1dfb  # main
+_commit=37b04455ff58cb2ec3f58917d0737c435344f2fb  # tags/2022.1^0
 source=("git+https://gitlab.gnome.org/GNOME/gi-docgen.git#commit=$_commit";)
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {

Reply via email to