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

Andreas Radke andyrtr at archlinux.org
Thu Nov 19 11:32:10 UTC 2020


    Date: Thursday, November 19, 2020 @ 11:32:09
  Author: andyrtr
Revision: 401387

upgpkg: xorg-server 1.20.9.r21.g5c400cae1-1: fix pkgver to satisfy vercmp in case of stable minor subreleases

Modified:
  xorg-server/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-19 11:10:28 UTC (rev 401386)
+++ PKGBUILD	2020-11-19 11:32:09 UTC (rev 401387)
@@ -7,7 +7,7 @@
 
 _commit=5c400cae1f9817045378966effa6bca91e45aead # server-1.20-branch 2020-11-09
 
-pkgver=1.20.9+21+g5c400cae1
+pkgver=1.20.9.r21.g5c400cae1
 pkgrel=1
 arch=('x86_64')
 license=('custom')
@@ -40,7 +40,7 @@
 
 pkgver() {
   cd xserver
-  git describe --tags | sed 's/^xorg-server-//;s/_/./g;s/-/+/g'
+  git describe --tags | sed 's/^xorg.server.//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
 prepare() {



More information about the arch-commits mailing list