From: Lars Wendler Date: Tue, 10 Dec 2019 09:09:39 +0000 (+0100) Subject: games-emulation/mgba: Synced live ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2b52f441661f85eafd9245084d51c4424acdfe55;p=gentoo.git games-emulation/mgba: Synced live ebuild Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Lars Wendler --- diff --git a/games-emulation/mgba/mgba-9999.ebuild b/games-emulation/mgba/mgba-9999.ebuild index 013c485228bf..014fe2c0a7ce 100644 --- a/games-emulation/mgba/mgba-9999.ebuild +++ b/games-emulation/mgba/mgba-9999.ebuild @@ -11,8 +11,11 @@ if [[ "${PV}" == 9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/mgba-emu/mgba.git" else - SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + MY_PV="${PV/_beta/-b}" + SRC_URI="https://github.com/${PN}-emu/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + [[ "${PV}" == *_beta* ]] || \ KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" fi LICENSE="MPL-2.0" SLOT="0"