1 # Copyright 2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 MY_PN
="zhwiki-${PV}.dict"
11 DESCRIPTION
="Fcitx 5 Pinyin Dictionary from zh.wikipedia.org"
12 HOMEPAGE
="https://github.com/felixonmars/fcitx5-pinyin-zhwiki"
13 SRC_URI
="https://github.com/felixonmars/fcitx5-pinyin-zhwiki/releases/download/${MY_PV}/${MY_PN} -> ${P}.dict"
17 KEYWORDS
="amd64 arm mips x86"
21 RDEPEND
="app-i18n/fcitx:5"
26 DICT_PATH
="/usr/share/fcitx5/pinyin/dictionaries"
29 fperms
0644 "${DICT_PATH}/${P}.dict"