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

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Nov 12 21:35:19 UTC 2021


    Date: Friday, November 12, 2021 @ 21:35:19
  Author: foutrelis
Revision: 427950

upgpkg: gn 0.1938.0153d369-1: make pkgver more deterministic

Modified:
  gn/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-12 20:58:55 UTC (rev 427949)
+++ PKGBUILD	2021-11-12 21:35:19 UTC (rev 427950)
@@ -1,7 +1,7 @@
 # Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
 
 pkgname=gn
-pkgver=0.1938.0153d369b
+pkgver=0.1938.0153d369
 _commit=0153d369bbccc908f4da4993b1ba82728055926a
 pkgrel=1
 pkgdesc="Meta-build system that generates build files for Ninja"
@@ -15,7 +15,7 @@
 
 pkgver() {
   cd $pkgname
-  echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short HEAD)
+  echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short=8 HEAD)
 }
 
 build() {



More information about the arch-commits mailing list