Skip to content

Commit

Permalink
app-i18n/fcitx-libpinyin: Use ${Fcitx_major_version}.9999 version sch…
Browse files Browse the repository at this point in the history
…eme for live ebuild.
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Sep 27, 2017
1 parent c7784ac commit 8b818d8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ 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"
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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 8b818d8

Please sign in to comment.