[arch-commits] Commit in junit-system-rules/trunk (PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Thu Feb 25 09:23:03 UTC 2021
Date: Thursday, February 25, 2021 @ 09:23:03
Author: diabonas
Revision: 873325
junit-system-rules: update pkgver function
Modified:
junit-system-rules/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-25 09:22:19 UTC (rev 873324)
+++ PKGBUILD 2021-02-25 09:23:03 UTC (rev 873325)
@@ -1,7 +1,7 @@
# Maintainer: Jonas Witschel <diabonas at archlinux.org>
pkgname=junit-system-rules
pkgver=1.19.0
-_commit=f4782ebfd72c08bd3f00aa04ad20fe499c5463b4 # signed commit corresponding to tag "system-rules-$pkgver"
+_commit=f4782ebfd72c08bd3f00aa04ad20fe499c5463b4 # git rev-parse "system-rules-$pkgver^{}"
pkgrel=7
pkgdesc='A collection of JUnit rules for testing code that uses java.lang.System'
arch=('any')
@@ -17,7 +17,7 @@
pkgver() {
cd "$pkgname"
- git describe --tags | sed 's/^system-rules-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ git describe --tags | sed 's/^system-rules-//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
prepare() {
More information about the arch-commits
mailing list