diff options
author | Giacomo Vercesi | 2020-04-19 10:24:33 +0200 |
---|---|---|
committer | Giacomo Vercesi | 2020-04-19 10:24:33 +0200 |
commit | 0333c7507750dc518243f8b7ad5d2349fa746c24 (patch) | |
tree | b006d16ee6aefd28a521d0dbfba5cbdde7e10c40 | |
parent | 11724a1e02ef6ccc7e7a72b0d3556d88504e65e6 (diff) | |
download | aur-0333c7507750dc518243f8b7ad5d2349fa746c24.tar.gz |
Include tag in package version
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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() { |