games-util/protonplus: add 0.5.1.1, drop 0.5.0.1
Signed-off-by: Sravan Balaji <balajsra@umich.edu>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST protonplus-0.5.0.1.tar.gz 331423 BLAKE2B 5e65e84888a8e5ca49f033da2518dbebca2d8cc2cac72046439db409062142b7a60e0869ecc446d89eab27b671746a91cea493385044d228cfe7deb8f25a9ba4 SHA512 b789f55da73aa564144868e263b3626a061b9eca18b1c74c2b81972f84d9bc14f917f77465d64ba016d3c124b1b7d9ea9c54d64d92283c3e2f865f1418734036
|
||||
DIST protonplus-0.5.1.1.tar.gz 331468 BLAKE2B af1749d17fc75b4d0c89873e700cfa96d422bbdaa3d521d8fb47ba99d1f21e1c293014a96842141074771ca226387760ebac2fbd396017b12275229574f2b316 SHA512 fbdcdf6019a12f06c9d9aa01e948c219d612229474409ee84d057a1dcffa1c2230c3f284fc7ae8ea41569572b40710998d03b7aa4d856a62cbb4f666c89c0ebe
|
||||
|
@@ -8,11 +8,13 @@ inherit vala
|
||||
DESCRIPTION="A modern compatibility tools manager for Linux"
|
||||
HOMEPAGE="https://github.com/Vysp3r/protonplus"
|
||||
|
||||
if [[ ${PV} == 0.5.0.1 ]]; then
|
||||
# Convert W.X.Y.Z to W.X.Y-Z in SRC_URI
|
||||
if [[ ${PV} =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
MODIFIED_PACKAGE_VERSION=${PV%.*}-${PV##*.}
|
||||
SRC_URI="
|
||||
https://github.com/Vysp3r/ProtonPlus/archive/refs/tags/v0.5.0-1.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/Vysp3r/ProtonPlus/archive/refs/tags/v${MODIFIED_PACKAGE_VERSION}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/ProtonPlus-0.5.0-1"
|
||||
S="${WORKDIR}/ProtonPlus-${MODIFIED_PACKAGE_VERSION}"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/Vysp3r/ProtonPlus/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
Reference in New Issue
Block a user