summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-11-07 18:35:53 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-11-07 18:35:53 +0900
commit596ca22a1a5ec9d7f88cb94ae01629c1bf0f35b0 (patch)
tree853ef734b98ca7fe56a556a7766d2fe3ac728fad /app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild
parentapp-i18n/tegaki-zinnia-japanese: update LICENSE (diff)
downloadgentoo-596ca22a1a5ec9d7f88cb94ae01629c1bf0f35b0.tar.gz
gentoo-596ca22a1a5ec9d7f88cb94ae01629c1bf0f35b0.tar.bz2
gentoo-596ca22a1a5ec9d7f88cb94ae01629c1bf0f35b0.zip
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@gentoo.org>
Diffstat (limited to 'app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild')
-rw-r--r--app-i18n/tegaki-zinnia-japanese/tegaki-zinnia-japanese-0.3.ebuild13
1 files 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 87a22f055d36..98633580a6e4 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() {