summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-util/lgogdownloader/lgogdownloader-3.16-r1.ebuild10
-rw-r--r--games-util/lgogdownloader/lgogdownloader-9999.ebuild11
2 files changed, 17 insertions, 4 deletions
diff --git a/games-util/lgogdownloader/lgogdownloader-3.16-r1.ebuild b/games-util/lgogdownloader/lgogdownloader-3.16-r1.ebuild
index 384ea18d90ab..447b5479cb96 100644
--- a/games-util/lgogdownloader/lgogdownloader-3.16-r1.ebuild
+++ b/games-util/lgogdownloader/lgogdownloader-3.16-r1.ebuild
@@ -5,13 +5,19 @@ EAPI=8
inherit cmake
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
DESCRIPTION="Unofficial GOG.com downloader for Linux"
HOMEPAGE="https://sites.google.com/site/gogdownloader/"
-SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="WTFPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
IUSE="gui"
RDEPEND="
diff --git a/games-util/lgogdownloader/lgogdownloader-9999.ebuild b/games-util/lgogdownloader/lgogdownloader-9999.ebuild
index 74f57ee662f9..447b5479cb96 100644
--- a/games-util/lgogdownloader/lgogdownloader-9999.ebuild
+++ b/games-util/lgogdownloader/lgogdownloader-9999.ebuild
@@ -3,11 +3,18 @@
EAPI=8
-inherit cmake git-r3
+inherit cmake
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/Sude-/${PN}/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
DESCRIPTION="Unofficial GOG.com downloader for Linux"
HOMEPAGE="https://sites.google.com/site/gogdownloader/"
-EGIT_REPO_URI="https://github.com/Sude-/lgogdownloader.git"
LICENSE="WTFPL-2"
SLOT="0"