diff options
author | David Seifert <soap@gentoo.org> | 2019-10-18 14:18:47 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-10-18 14:18:47 +0200 |
commit | 1eb57b9c3cdfc3de93a791e8b42becb281297fcd (patch) | |
tree | 76d8bd302d2275a61ebb9680f79a8e89907ac0af /app-dicts/migemo-dict | |
parent | app-dicts/bookview: Port to EAPI 7 (diff) | |
download | gentoo-1eb57b9c3cdfc3de93a791e8b42becb281297fcd.tar.gz gentoo-1eb57b9c3cdfc3de93a791e8b42becb281297fcd.tar.bz2 gentoo-1eb57b9c3cdfc3de93a791e8b42becb281297fcd.zip |
app-dicts/migemo-dict: Port to EAPI 7
Closes: https://bugs.gentoo.org/697406
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-dicts/migemo-dict')
-rw-r--r-- | app-dicts/migemo-dict/migemo-dict-200812.ebuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/app-dicts/migemo-dict/migemo-dict-200812.ebuild b/app-dicts/migemo-dict/migemo-dict-200812.ebuild index 8245e4067d6e..8a8c03b79a4d 100644 --- a/app-dicts/migemo-dict/migemo-dict-200812.ebuild +++ b/app-dicts/migemo-dict/migemo-dict-200812.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 - -IUSE="unicode" +EAPI=7 DESCRIPTION="Dictionary files for the Migemo and C/Migemo" HOMEPAGE="http://openlab.ring.gr.jp/skk/dic.html" @@ -12,18 +10,17 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" SLOT="0" +IUSE="unicode" -src_unpack() { - unpack ${A} - cd "${S}" - if use unicode ; then - iconv -f euc-jp -t utf-8 migemo-dict > "${T}/migemo-dict" +src_configure() { + if use unicode; then + iconv -f euc-jp -t utf-8 migemo-dict > "${T}"/migemo-dict || die else - cp migemo-dict "${T}/migemo-dict" + cp migemo-dict "${T}"/ || die fi } src_install() { insinto /usr/share/migemo - doins "${T}/migemo-dict" + doins "${T}"/migemo-dict } |