summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-09-26 22:53:08 +0200
committerMike Gilbert <floppym@gentoo.org>2017-09-27 15:56:58 -0400
commitc7784acea9b02e03532a6d650fcb4ec9cda67135 (patch)
tree2de89b2b037efff38da36b99d76f42869b1c68f9 /app-i18n/fcitx-configtool
parentapp-i18n/fcitx-chewing: Use ${Fcitx_major_version}.9999 version scheme for li... (diff)
downloadgentoo-c7784acea9b02e03532a6d650fcb4ec9cda67135.tar.gz
gentoo-c7784acea9b02e03532a6d650fcb4ec9cda67135.tar.bz2
gentoo-c7784acea9b02e03532a6d650fcb4ec9cda67135.zip
app-i18n/fcitx-configtool: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
Diffstat (limited to 'app-i18n/fcitx-configtool')
-rw-r--r--app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild4
-rw-r--r--app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild (renamed from app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild)4
2 files changed, 4 insertions, 4 deletions
diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild
index 28b6f212a5c3..0b23abbbe065 100644
--- a/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild
+++ b/app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit cmake-utils
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx-configtool"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="GTK+ GUI configuration tool for Fcitx"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-configtool"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI=""
else
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"
diff --git a/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild b/app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild
index a3a492161578..aa0e86bd5706 100644
--- a/app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild
+++ b/app-i18n/fcitx-configtool/fcitx-configtool-4.9999.ebuild
@@ -5,7 +5,7 @@ EAPI="6"
inherit cmake-utils
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/fcitx/fcitx-configtool"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="GTK+ GUI configuration tool for Fcitx"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-configtool"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI=""
else
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"