Skip to content

Commit

Permalink
app-i18n/fcitx: Use ${Fcitx_major_version}.9999 version scheme for li…
Browse files Browse the repository at this point in the history
…ve ebuild.
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Sep 27, 2017
1 parent efc09c8 commit 4276665
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app-i18n/fcitx/fcitx-4.2.9.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ EAPI="6"

inherit cmake-utils gnome2-utils xdg-utils

if [[ "${PV}" == "9999" ]]; then
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
inherit git-r3

EGIT_REPO_URI="https://github.com/fcitx/fcitx"
fi

DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx"
if [[ "${PV}" == "9999" ]]; then
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz
https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz
https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz
Expand Down Expand Up @@ -77,7 +77,7 @@ PATCHES=(
DOCS=(AUTHORS ChangeLog THANKS)

src_prepare() {
if [[ "${PV}" == "9999" ]]; then
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ EAPI="6"

inherit cmake-utils gnome2-utils xdg-utils

if [[ "${PV}" == "9999" ]]; then
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
inherit git-r3

EGIT_REPO_URI="https://github.com/fcitx/fcitx"
fi

DESCRIPTION="Fcitx (Flexible Context-aware Input Tool with eXtension) input method framework"
HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx"
if [[ "${PV}" == "9999" ]]; then
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
SRC_URI="https://download.fcitx-im.org/data/pinyin.tar.gz -> fcitx-data-pinyin.tar.gz
https://download.fcitx-im.org/data/table.tar.gz -> fcitx-data-table.tar.gz
https://download.fcitx-im.org/data/py_stroke-20121124.tar.gz -> fcitx-data-py_stroke-20121124.tar.gz
Expand Down Expand Up @@ -73,7 +73,7 @@ DEPEND="${RDEPEND}
DOCS=(AUTHORS ChangeLog THANKS)

src_prepare() {
if [[ "${PV}" == "9999" ]]; then
if [[ "${PV}" =~ (^|\.)9999$ ]]; then
ln -s "${DISTDIR}/fcitx-data-pinyin.tar.gz" src/im/pinyin/data/pinyin.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-table.tar.gz" src/im/table/data/table.tar.gz || die
ln -s "${DISTDIR}/fcitx-data-py_stroke-20121124.tar.gz" src/module/pinyin-enhance/data/py_stroke-20121124.tar.gz || die
Expand Down

0 comments on commit 4276665

Please sign in to comment.