summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshH1002019-10-28 18:16:12 -0600
committerJoshH1002019-10-28 18:16:12 -0600
commitb955082a5a7fadc6dd91b3e1038f67bcb3862ef9 (patch)
tree075d486b3decfa07493c0f6f3fda87194eb7265c
parent60eb97dc6cab740f60c8c450193bb62a4c1c5a06 (diff)
downloadaur-b955082a5a7fadc6dd91b3e1038f67bcb3862ef9.tar.gz
switched versioning convention... again.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD12
2 files changed, 5 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b54106621b6..0b24f720e73e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index bf724142b09e..95ce8bb2759e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {