From c7784acea9b02e03532a6d650fcb4ec9cda67135 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 26 Sep 2017 22:53:08 +0200 Subject: [PATCH] app-i18n/fcitx-configtool: Use ${Fcitx_major_version}.9999 version scheme for live ebuild. --- app-i18n/fcitx-configtool/fcitx-configtool-0.4.10.ebuild | 4 ++-- ...-configtool-9999.ebuild => fcitx-configtool-4.9999.ebuild} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename app-i18n/fcitx-configtool/{fcitx-configtool-9999.ebuild => fcitx-configtool-4.9999.ebuild} (90%) 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 similarity index 90% rename from app-i18n/fcitx-configtool/fcitx-configtool-9999.ebuild rename to 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" -- 2.26.2