diff options
author | turret <turret@duck.com> | 2023-09-03 14:34:08 -0500 |
---|---|---|
committer | turret <turret@duck.com> | 2023-09-03 14:34:08 -0500 |
commit | af5bc30e15e223acf4642af83bdebd517023a020 (patch) | |
tree | b2b22e9dfe6732704fb80d58adfa25e1fdfc47a9 /games-util/grapejuice/grapejuice-7.14.4.ebuild | |
parent | 4e2f7e2116262fbc37e53a3382e00daf65910c82 (diff) | |
download | portage-overlay-af5bc30e15e223acf4642af83bdebd517023a020.tar.gz portage-overlay-af5bc30e15e223acf4642af83bdebd517023a020.tar.bz2 portage-overlay-af5bc30e15e223acf4642af83bdebd517023a020.zip |
games-util/grapejuice: add live ebuild
Signed-off-by: turret <turret@duck.com>
Diffstat (limited to 'games-util/grapejuice/grapejuice-7.14.4.ebuild')
-rw-r--r-- | games-util/grapejuice/grapejuice-7.14.4.ebuild | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/games-util/grapejuice/grapejuice-7.14.4.ebuild b/games-util/grapejuice/grapejuice-7.14.4.ebuild index 2a61870..d0253bb 100644 --- a/games-util/grapejuice/grapejuice-7.14.4.ebuild +++ b/games-util/grapejuice/grapejuice-7.14.4.ebuild @@ -7,11 +7,18 @@ inherit xdg optfeature DESCRIPTION="A Wine+Roblox management application" HOMEPAGE="https://gitlab.com/brinkervii/grapejuice.git" -SRC_URI="https://gitlab.com/brinkervii/grapejuice/-/archive/v${PV}/grapejuice-v${PV}.tar.bz2" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/brinkervii/grapejuice.git" + EGIT_BRANCH="staging" +else + SRC_URI="https://gitlab.com/brinkervii/grapejuice/-/archive/v${PV}/grapejuice-v${PV}.tar.bz2" + KEYWORDS="-* ~amd64" +fi LICENSE="GPL-3" SLOT="0" -KEYWORDS="-* ~amd64" RESTRICT="mirror" DEPEND="dev-libs/gobject-introspection @@ -43,7 +50,11 @@ RDEPEND=" src_unpack() { default - mv "${WORKDIR}/grapejuice-v${PV}" "${S}" || die + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + else + mv "${WORKDIR}/grapejuice-v${PV}" "${S}" || die + fi } src_prepare() { |