From 6314342c732e88ebc0f9edf45018a68eb23b2076 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Mon, 9 Jun 2025 17:59:34 -0400 Subject: [PATCH] games-util/protonplus: add 0.5.1.1, drop 0.5.0.1 Signed-off-by: Sravan Balaji --- games-util/protonplus/Manifest | 2 +- ...rotonplus-0.5.0.1.ebuild => protonplus-0.5.1.1.ebuild} | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) rename games-util/protonplus/{protonplus-0.5.0.1.ebuild => protonplus-0.5.1.1.ebuild} (79%) diff --git a/games-util/protonplus/Manifest b/games-util/protonplus/Manifest index f71038b..2f36a53 100644 --- a/games-util/protonplus/Manifest +++ b/games-util/protonplus/Manifest @@ -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 diff --git a/games-util/protonplus/protonplus-0.5.0.1.ebuild b/games-util/protonplus/protonplus-0.5.1.1.ebuild similarity index 79% rename from games-util/protonplus/protonplus-0.5.0.1.ebuild rename to games-util/protonplus/protonplus-0.5.1.1.ebuild index d564a17..033c4eb 100644 --- a/games-util/protonplus/protonplus-0.5.0.1.ebuild +++ b/games-util/protonplus/protonplus-0.5.1.1.ebuild @@ -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