From 1b3a22493a91f71658c73310ad663f728235947d Mon Sep 17 00:00:00 2001 From: Yongxiang Liang Date: Tue, 28 Nov 2023 18:10:44 +0800 Subject: [PATCH] app-i18n/fcitx-anthy: clean code Signed-off-by: Yongxiang Liang --- app-i18n/fcitx-anthy/fcitx-anthy-5.1.2.ebuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/app-i18n/fcitx-anthy/fcitx-anthy-5.1.2.ebuild b/app-i18n/fcitx-anthy/fcitx-anthy-5.1.2.ebuild index cc61b45d0..88016f032 100644 --- a/app-i18n/fcitx-anthy/fcitx-anthy-5.1.2.ebuild +++ b/app-i18n/fcitx-anthy/fcitx-anthy-5.1.2.ebuild @@ -8,15 +8,9 @@ inherit cmake xdg DESCRIPTION="Japanese Anthy input methods for Fcitx5" HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-anthy" -if [[ "${PV}" =~ (^|\.)9999$ ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/fcitx/fcitx5-anthy" -else - MY_PN="fcitx5-anthy" - MY_P="${MY_PN}-${PV}" - S="${WORKDIR}/${MY_PN}-${PV}" - SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_P}.tar.xz" -fi +MY_PN="fcitx5-anthy" +S="${WORKDIR}/${MY_PN}-${PV}" +SRC_URI="https://download.fcitx-im.org/fcitx5/${MY_PN}/${MY_PN}-${PV}.tar.xz" LICENSE="GPL-2+" SLOT="5" -- 2.11.4.GIT