Fix Gentoo ebuild when specific version is installed

This commit is contained in:
2026-07-22 15:41:31 +02:00
parent 15a5b55585
commit 90abbd9c70
+3 -3
View File
@@ -14,18 +14,18 @@ fi
inherit ${SCM} distutils-r1 systemd
DESCRIPTION=""
DESCRIPTION="Dynamic DNS update service with CLI administration"
HOMEPAGE="https://git.ccc-rheintal.ch/spacefreak/ddns-service/"
if [ "${PV#9999}" != "${PV}" ] ; then
SRC_URI=""
KEYWORDS=""
# Needed for tests
S="${WORKDIR}/${PN}"
EGIT_CHECKOUT_DIR="${S}"
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"
fi
S="${WORKDIR}/${PN}"
LICENSE="GPL-3"
SLOT="0"