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

Jan Steffens heftig at gemini.archlinux.org
Mon Nov 22 19:22:02 UTC 2021


    Date: Monday, November 22, 2021 @ 19:22:02
  Author: heftig
Revision: 428963

pkgver

Modified:
  devhelp/trunk/PKGBUILD

----------+
 PKGBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-22 19:11:43 UTC (rev 428962)
+++ PKGBUILD	2021-11-22 19:22:02 UTC (rev 428963)
@@ -23,7 +23,7 @@
 
 pkgver() {
   cd devhelp
-  git describe --tags | sed 's/\.alpha/alpha/;s/-/+/g'
+  git describe --tags | sed 's/\.alpha/alpha/;s/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {



More information about the arch-commits mailing list