summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-09-26 23:02:43 +0200
committerMike Gilbert <floppym@gentoo.org>2017-09-27 15:56:59 -0400
commit8b818d81d96944dd74a7bdd336bb6609242b3095 (patch)
treea3731fed1dc6b341c5b79b88a9fdca44795a2e7f /app-i18n/fcitx-libpinyin
parentapp-i18n/fcitx-configtool: Use ${Fcitx_major_version}.9999 version scheme for... (diff)
downloadgentoo-8b818d81d96944dd74a7bdd336bb6609242b3095.tar.gz
gentoo-8b818d81d96944dd74a7bdd336bb6609242b3095.tar.bz2
gentoo-8b818d81d96944dd74a7bdd336bb6609242b3095.zip
app-i18n/fcitx-libpinyin: Use ${Fcitx_major_version}.9999 version scheme for live ebuild.
Diffstat (limited to 'app-i18n/fcitx-libpinyin')
-rw-r--r--app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild (renamed from app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild)6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild
index 3497b22a0343..3496db3a2e82 100644
--- a/app-i18n/fcitx-libpinyin/fcitx-libpinyin-9999.ebuild
+++ b/app-i18n/fcitx-libpinyin/fcitx-libpinyin-4.9999.ebuild
@@ -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-libpinyin"
@@ -13,7 +13,7 @@ fi
DESCRIPTION="Chinese LibPinyin input methods for Fcitx"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx-libpinyin"
-if [[ "${PV}" == "9999" ]]; then
+if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI="https://download.fcitx-im.org/data/model.text.20161206.tar.gz -> fcitx-data-model.text.20161206.tar.gz"
else
SRC_URI="https://download.fcitx-im.org/${PN}/${P}_dict.tar.xz"
@@ -44,7 +44,7 @@ DEPEND="${RDEPEND}
DOCS=(AUTHORS)
src_prepare() {
- if [[ "${PV}" == "9999" ]]; then
+ if [[ "${PV}" =~ (^|\.)9999$ ]]; then
ln -s "${DISTDIR}/fcitx-data-model.text.20161206.tar.gz" data/model.text.20161206.tar.gz || die
fi