app-i18n/fcitx-unikey: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Wed, 27 Sep 2017 10:18:32 +0000 (12:18 +0200)
committerMike Gilbert <floppym@gentoo.org>
Wed, 27 Sep 2017 19:57:01 +0000 (15:57 -0400)
app-i18n/fcitx-unikey/fcitx-unikey-4.9999.ebuild [moved from app-i18n/fcitx-unikey/fcitx-unikey-9999.ebuild with 92% similarity]

similarity index 92%
rename from app-i18n/fcitx-unikey/fcitx-unikey-9999.ebuild
rename to app-i18n/fcitx-unikey/fcitx-unikey-4.9999.ebuild
index 8f1c274d0bdd33af8e3af7610e35bf8e18650553..3b93c20b6ead8abfea0f713161113a16f40021e2 100644 (file)
@@ -5,7 +5,7 @@ EAPI="6"
 
 inherit cmake-utils gnome2-utils
 
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        inherit git-r3
 
        EGIT_REPO_URI="https://github.com/fcitx/fcitx-unikey"
@@ -13,7 +13,7 @@ fi
 
 DESCRIPTION="Vietnamese Unikey input methods for Fcitx"
 HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-unikey"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
        SRC_URI=""
 else
        SRC_URI="https://download.fcitx-im.org/${PN}/${P}.tar.xz"