summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-09-27 10:56:37 +0200
committerMike Gilbert <floppym@gentoo.org>2017-09-27 15:57:00 -0400
commit9ad7cbd0d605008a42ec74f8d4069c8d0f6ec54b (patch)
tree703d5f1382cd0ebb0cd5b53c47a6d6c035225b55 /app-i18n/fcitx-qt5
parentapp-i18n/fcitx-m17n: Version bump (0.2.4). (diff)
downloadgentoo-9ad7cbd0d605008a42ec74f8d4069c8d0f6ec54b.tar.gz
gentoo-9ad7cbd0d605008a42ec74f8d4069c8d0f6ec54b.tar.bz2
gentoo-9ad7cbd0d605008a42ec74f8d4069c8d0f6ec54b.zip
app-i18n/fcitx-qt5: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
Diffstat (limited to 'app-i18n/fcitx-qt5')
-rw-r--r--app-i18n/fcitx-qt5/fcitx-qt5-1.1.1.ebuild4
-rw-r--r--app-i18n/fcitx-qt5/fcitx-qt5-4.9999.ebuild (renamed from app-i18n/fcitx-qt5/fcitx-qt5-9999.ebuild)4
2 files changed, 4 insertions, 4 deletions
diff --git a/app-i18n/fcitx-qt5/fcitx-qt5-1.1.1.ebuild b/app-i18n/fcitx-qt5/fcitx-qt5-1.1.1.ebuild
index bf637e0b2fd8..18564da597d7 100644
--- a/app-i18n/fcitx-qt5/fcitx-qt5-1.1.1.ebuild
+++ b/app-i18n/fcitx-qt5/fcitx-qt5-1.1.1.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-qt5"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="Fcitx input method module for Qt 5"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-qt5"
-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-qt5/fcitx-qt5-9999.ebuild b/app-i18n/fcitx-qt5/fcitx-qt5-4.9999.ebuild
index d99be3fd9f4e..eaa37a365ba3 100644
--- a/app-i18n/fcitx-qt5/fcitx-qt5-9999.ebuild
+++ b/app-i18n/fcitx-qt5/fcitx-qt5-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-qt5"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="Fcitx input method module for Qt 5"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-qt5"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI=""
else
SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"