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

Levente Polyak anthraxx at archlinux.org
Mon Aug 24 20:50:58 UTC 2020


    Date: Monday, August 24, 2020 @ 20:50:58
  Author: anthraxx
Revision: 394672

use non ambiguous/broken pkgver

Modified:
  vala/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-24 20:20:23 UTC (rev 394671)
+++ PKGBUILD	2020-08-24 20:50:58 UTC (rev 394672)
@@ -1,5 +1,5 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 # Contributor: Timm Preetz <timm at preetz.us>
 
@@ -22,7 +22,7 @@
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
 prepare() {



More information about the arch-commits mailing list