blob: 3fae7368012bafa5187646d11f06c72bf6e3c336 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2020 Gentoo Authors
# 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 arm64 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)
}
|