You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
629 B
27 lines
629 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="Dictionary files for the Migemo and C/Migemo"
|
|
HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html"
|
|
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
|
SLOT="0"
|
|
IUSE="unicode"
|
|
|
|
src_configure() {
|
|
if use unicode; then
|
|
iconv -f euc-jp -t utf-8 migemo-dict > "${T}"/migemo-dict || die
|
|
else
|
|
cp migemo-dict "${T}"/ || die
|
|
fi
|
|
}
|
|
|
|
src_install() {
|
|
insinto /usr/share/migemo
|
|
doins "${T}"/migemo-dict
|
|
}
|