app-dicts/fcitx5-pinyin-moegirl: new package (#2383)

* app-dicts/fcitx5-pinyin-moegirl: new package

Signed-off-by: Ruixi-rebirth <ruixirebirth@gmail.com>
This commit is contained in:
Ruixi-rebirth 2022-07-31 11:55:10 +08:00 committed by GitHub
parent da09601a24
commit 4251172927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST moegirl.dict 3628212 BLAKE2B 0a5bc4b41f0225c25ff61d584eedb1008251890a45f5c9e5377aee9dd248dd2b51e79e9cb736d45c734dbe453e2eba608ba3392f0b614a8cf0059c796623e2c4 SHA512 23f2164b2914a7353a22ab5d73149c91b9f169995e4b8d228c7f8ef0dfb16f4fcb96f03eff9ff74585c754c1569120b25fef9ad47c01c35dccda2ab545014e7c

View File

@ -0,0 +1,28 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="moegirl.dict"
MY_PV="20220714"
DESCRIPTION="Fcitx 5 Pinyin Dictionary from zh.moegirl.org.cn"
HOMEPAGE="https://github.com/outloudvi/mw2fcitx"
SRC_URI="https://github.com/outloudvi/mw2fcitx/releases/download/${MY_PV}/${MY_PN}"
LICENSE="Unlicense"
SLOT="5"
KEYWORDS="~amd64 ~x86"
DEPEND="app-i18n/fcitx:5"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${DISTDIR}"
src_install(){
DICT_PATH="/usr/share/fcitx5/pinyin/dictionaries"
insinto ${DICT_PATH}
doins ${MY_PN}
fperms 0644 "${DICT_PATH}/${MY_PN}"
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ruixirebirth@gmail.com</email>
<name>Ruixi-rebirth</name>
</maintainer>
</pkgmetadata>