aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gui-apps/coretime/coretime-9999.ebuild')
-rw-r--r--gui-apps/coretime/coretime-9999.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/gui-apps/coretime/coretime-9999.ebuild b/gui-apps/coretime/coretime-9999.ebuild
index 74d037ebc..e152ee004 100644
--- a/gui-apps/coretime/coretime-9999.ebuild
+++ b/gui-apps/coretime/coretime-9999.ebuild
@@ -3,7 +3,9 @@
EAPI=7
-inherit cmake xdg
+MY_PV="${PV/_/-}"
+
+inherit xdg cmake
DESCRIPTION="A time related task manager for C Suite"
HOMEPAGE="https://gitlab.com/cubocore/coreapps/coretime"
@@ -12,9 +14,9 @@ if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/cubocore/coreapps/${PN}.git"
else
- SRC_URI="https://gitlab.com/cubocore/coreapps/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
+ SRC_URI="https://gitlab.com/cubocore/coreapps/${PN}/-/archive/v${MY_PV}/${PN}-v${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
- S="${WORKDIR}/${PN}-v${PV}"
+ S="${WORKDIR}/${PN}-v${MY_PV}"
fi
RESTRICT="test"
@@ -31,9 +33,3 @@ DEPEND="
RDEPEND="
${DEPEND}
"
-
-src_prepare() {
- cmake_src_prepare
-
- sed -i 's/CSuite/X-CSuite/' *.desktop || die
-}