Fix Gentoo ebuild when specific version is installed
This commit is contained in:
@@ -14,18 +14,18 @@ fi
|
|||||||
|
|
||||||
inherit ${SCM} distutils-r1 systemd
|
inherit ${SCM} distutils-r1 systemd
|
||||||
|
|
||||||
DESCRIPTION=""
|
DESCRIPTION="Dynamic DNS update service with CLI administration"
|
||||||
HOMEPAGE="https://git.ccc-rheintal.ch/spacefreak/ddns-service/"
|
HOMEPAGE="https://git.ccc-rheintal.ch/spacefreak/ddns-service/"
|
||||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
SRC_URI=""
|
SRC_URI=""
|
||||||
KEYWORDS=""
|
KEYWORDS=""
|
||||||
# Needed for tests
|
# Needed for tests
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
EGIT_CHECKOUT_DIR="${S}"
|
EGIT_CHECKOUT_DIR="${S}"
|
||||||
else
|
else
|
||||||
SRC_URI="https://git-ccc-rheintal.ch/spacefreak/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://git.ccc-rheintal.ch/spacefreak/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
KEYWORDS="amd64 x86"
|
KEYWORDS="amd64 x86"
|
||||||
fi
|
fi
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
|||||||
Reference in New Issue
Block a user