diff options
author | JoshH100 | 2019-10-28 18:16:12 -0600 |
---|---|---|
committer | JoshH100 | 2019-10-28 18:16:12 -0600 |
commit | b955082a5a7fadc6dd91b3e1038f67bcb3862ef9 (patch) | |
tree | 075d486b3decfa07493c0f6f3fda87194eb7265c | |
parent | 60eb97dc6cab740f60c8c450193bb62a4c1c5a06 (diff) | |
download | aur-b955082a5a7fadc6dd91b3e1038f67bcb3862ef9.tar.gz |
switched versioning convention... again.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 5 insertions, 10 deletions
@@ -1,7 +1,8 @@ pkgbase = proton-git pkgdesc = Compatibility tool for Steam Play based on Wine and additional components - pkgver = 8.0 + pkgver = 4.11.7.r0.g71d4637 pkgrel = 1 + epoch = 1 url = https://github.com/ValveSoftware/Proton/ arch = x86_64 license = BSD @@ -1,8 +1,7 @@ -# Maintainer: Yurii Kolesnykov <root@yurikoles.com> -# Contributor: Sean Anderson <seanga2@gamil.com> pkgname=proton-git _pkgname=proton -pkgver=8.0 +epoch=1 +pkgver=4.11.7.r0.g71d4637 pkgrel=1 pkgdesc="Compatibility tool for Steam Play based on Wine and additional components" arch=('x86_64') @@ -17,13 +16,8 @@ source=("${pkgname}::git+https://github.com/ValveSoftware/Proton.git") sha512sums=('SKIP') pkgver() { - local version count - cd "${pkgname}" - - version="$(git describe --abbrev=0 --tags)" - count="$(git rev-list --count ${version}..)" - printf '%s.%s' "${version#proton-*-}" "${count}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/proton\.//g' } prepare() { |