commit: 596ca22a1a5ec9d7f88cb94ae01629c1bf0f35b0 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Sun Nov 7 09:35:53 2021 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Sun Nov 7 09:35:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596ca22a
app-i18n/tegaki-zinnia-japanese: update to EAPI 8 Closes: https://bugs.gentoo.org/819723 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> .../tegaki-zinnia-japanese-0.3.ebuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild b/app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild index 87a22f055d3..98633580a6e 100644 --- a/app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild +++ b/app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild @@ -1,7 +1,7 @@ # Copyright 2013-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI="8" DESCRIPTION="Handwriting model data of Japanese" HOMEPAGE="https://tegaki.github.io/" @@ -12,12 +12,17 @@ SLOT="0" KEYWORDS="amd64 ~arm64 ~ppc64 x86" IUSE="" -DEPEND="app-arch/unzip" RDEPEND="" +BDEPEND="app-arch/unzip" src_prepare() { - sed -i -e "/^installpath=/s:local/::" Makefile || die - sed -i -e "/^installpath=/s:installpath=:installpath=${ED}:" Makefile || die + default + + sed -i \ + -e "/^installpath=/s|local/||" \ + -e "/^installpath=/s|=|=${EPREFIX}|" \ + -e "s/\(\$(inst\)/\$(DESTDIR)\1/" \ + Makefile } src_compile() {