[net-im/spectrum] fix fetch

This commit is contained in:
Robert Förster 2015-12-15 15:09:13 +01:00
parent 0a746e8e85
commit 1008fb4d3f

View File

@ -6,13 +6,14 @@ EAPI="5"
inherit cmake-utils systemd versionator inherit cmake-utils systemd versionator
MY_PN="spectrum2"
if [[ ${PV} = "9999" ]] ; then if [[ ${PV} = "9999" ]] ; then
EGIT_REPO_URI="git://github.com/hanzz/${MY_PN}.git" EGIT_REPO_URI="git://github.com/hanzz/${MY_PN}.git"
inherit git-r3 inherit git-r3
KEYWORDS="" KEYWORDS=""
else else
RESTRICT="mirror" RESTRICT="mirror"
MY_PN="spectrum2"
MY_PV=$(replace_version_separator '_' '-') MY_PV=$(replace_version_separator '_' '-')
MY_P="${MY_PN}-${MY_PV}" MY_P="${MY_PN}-${MY_PV}"
SRC_URI="https://github.com/downloads/hanzz/${MY_PN}/${MY_P}.tar.gz" SRC_URI="https://github.com/downloads/hanzz/${MY_PN}/${MY_P}.tar.gz"