summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kescher2020-02-02 16:53:50 +0100
committerJeremy Kescher2020-02-02 16:53:50 +0100
commitbd3332a70878e8425665dec4f4af2fb094114370 (patch)
treed6834188b4b5b504f739eaad3df5d0eeeb63635a
parente3d73b283215c6725c47d86fe448570afd36a9e8 (diff)
downloadaur-bd3332a70878e8425665dec4f4af2fb094114370.tar.gz
Include proper git describe in pkgver()
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 485a2d2f66c..20a26337bcd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
# Maintainer: Jeremy Kescher <jeremy@kescher.at>
+# Contributor: Benjamin Maisonnas <ben@wainei.net>
# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=vkd3d-valve-git
@@ -25,7 +26,7 @@ sha256sums=('SKIP')
pkgver() {
cd vkd3d
- git describe --always
+ git describe --long --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {