summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiacomo Vercesi2020-04-19 10:24:33 +0200
committerGiacomo Vercesi2020-04-19 10:24:33 +0200
commit0333c7507750dc518243f8b7ad5d2349fa746c24 (patch)
treeb006d16ee6aefd28a521d0dbfba5cbdde7e10c40
parent11724a1e02ef6ccc7e7a72b0d3556d88504e65e6 (diff)
downloadaur-0333c7507750dc518243f8b7ad5d2349fa746c24.tar.gz
Include tag in package version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f65103a097d3..a1df65f71563 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = protonfixes-git
pkgdesc = A module for applying fixes at runtime to unsupported games with Steam Proton without changing game installation files - git version
- pkgver = r241.203b4c2
+ pkgver = 1.0.15.r102.g1202914
pkgrel = 1
url = https://github.com/simons-public/protonfixes
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index ca1fd91610b4..5a3bcf834068 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Chris Simons < chris at simonsmail dot net >
pkgname=("protonfixes-git")
-pkgver=r241.203b4c2
+pkgver=1.0.15.r102.g1202914
pkgrel=1
pkgdesc="A module for applying fixes at runtime to unsupported games with Steam Proton without changing game installation files - git version"
arch=("any")
@@ -20,7 +20,7 @@ md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {