From: David Seifert Date: Fri, 18 Oct 2019 12:18:47 +0000 (+0200) Subject: app-dicts/migemo-dict: Port to EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1eb57b9c3cdfc3de93a791e8b42becb281297fcd;p=gentoo.git 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 --- 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 }