games-engines/urho3d: simplify version change

Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-12-29 16:11:55 +01:00
parent cd9e1b2436
commit 96b11e7231
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
2 changed files with 2 additions and 10 deletions

View File

@ -14,11 +14,7 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN}/${MY_PN}.git"
else
if [[ "${PV}" == *_alpha ]]; then
MY_PV="${PV/_alpha/-ALPHA}"
else
MY_PV="${PV}"
fi
MY_PV="${PV/_alpha/-ALPHA}"
SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_PN}-${MY_PV}"

View File

@ -14,11 +14,7 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN}/${MY_PN}.git"
else
if [[ "${PV}" == *_alpha ]]; then
MY_PV="${PV/_alpha/-ALPHA}"
else
MY_PV="${PV}"
fi
MY_PV="${PV/_alpha/-ALPHA}"
SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_PN}-${MY_PV}"