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

Jan Steffens heftig at gemini.archlinux.org
Tue Nov 23 17:26:53 UTC 2021


    Date: Tuesday, November 23, 2021 @ 17:26:53
  Author: heftig
Revision: 428989

3.42.0-1: pkgver

Modified:
  alacarte/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-23 17:25:45 UTC (rev 428988)
+++ PKGBUILD	2021-11-23 17:26:53 UTC (rev 428989)
@@ -3,8 +3,9 @@
 # Contributor: pressh <pressh at gmail.com>
 
 pkgname=alacarte
-pkgver=3.42.0+0+g0225d87
+pkgver=3.42.0
 pkgrel=1
+epoch=1
 pkgdesc="Menu editor for gnome"
 url="https://gitlab.gnome.org/GNOME/alacarte"
 arch=(any)
@@ -17,7 +18,7 @@
 
 pkgver() {
   cd $pkgname
-  git describe --long | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {



More information about the arch-commits mailing list