diff options
Diffstat (limited to 'app-i18n/rime-data')
-rw-r--r-- | app-i18n/rime-data/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/rime-data/metadata.xml | 3 | ||||
-rw-r--r-- | app-i18n/rime-data/rime-data-0.38.20180515.ebuild | 30 |
3 files changed, 34 insertions, 0 deletions
diff --git a/app-i18n/rime-data/Manifest b/app-i18n/rime-data/Manifest index 42125c6d282d..83a370bf3dbb 100644 --- a/app-i18n/rime-data/Manifest +++ b/app-i18n/rime-data/Manifest @@ -1 +1,2 @@ DIST brise-0.35.tar.gz 6707277 BLAKE2B 610ea2e58800676b88bc79ce7075ed5fa8ec041f2ee34e3dfbcbfa642f84413d8b188af8e49de56d815eac2e5188d18287749976aa4e28ba5c7c7dfc6dece30a SHA512 1a2a3ddba9be7089a1b82ce446a3e5dc93a13fff121f861aa1acbdea950f490c9367866902a056296e17de5076a59a54741ceb3a59a9c0ec58b6b7c54f519f3d +DIST brise-0.38.20180515.tar.gz 7116807 BLAKE2B abf73b5813b18f4cd3ef68b3f6e8ad2c54ac90a0969a57e7786b53b99c162efeea9e82d962b3e8d7b8b1742852beb5d0eb4b07de65bdc1881c43388de552ee4a SHA512 60b3d37486b6858114036664327c9be00d09d3f7d3f5aaf337c6bc5a46134e5785fc1732db5aad15e1e628241a70c9c34b03f982fb13cae6d91220731b451bb9 diff --git a/app-i18n/rime-data/metadata.xml b/app-i18n/rime-data/metadata.xml index c91a76f3d447..21b0e91de72c 100644 --- a/app-i18n/rime-data/metadata.xml +++ b/app-i18n/rime-data/metadata.xml @@ -9,6 +9,9 @@ <email>cjk@gentoo.org</email> <name>Cjk</name> </maintainer> + <use> + <flag name="extra">Install extra packages</flag> + </use> <upstream> <maintainer> <email>chen.sst@gmail.com</email> diff --git a/app-i18n/rime-data/rime-data-0.38.20180515.ebuild b/app-i18n/rime-data/rime-data-0.38.20180515.ebuild new file mode 100644 index 000000000000..ecbace625b4d --- /dev/null +++ b/app-i18n/rime-data/rime-data-0.38.20180515.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +MY_PN="brise" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Data resources for Rime Input Method Engine" +HOMEPAGE="https://rime.im/ https://github.com/rime/brise" +SRC_URI="https://github.com/rime/${MY_PN}/releases/download/${MY_P%.*}/${MY_P}.tar.gz" + +LICENSE="GPL-3 LGPL-3 extra? ( Apache-2.0 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="extra" + +DEPEND="app-i18n/librime" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${MY_PN}" + +src_prepare() { + sed -i "/^[[:space:]]*PREFIX/s:/usr:${EPREFIX}/usr:" Makefile + + default +} + +src_compile() { + emake $(usex extra all preset) +} |