summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.ebuild23
1 files changed, 14 insertions, 9 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 3cf54ff01940..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,23 +1,28 @@
-# Copyright 1999-2018 Gentoo Foundation
+# 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="http://tegaki.org/"
-SRC_URI="http://www.tegaki.org/releases/${PV}/models/${P}.zip"
+HOMEPAGE="https://tegaki.github.io/"
+SRC_URI="https://github.com/tegaki/tegaki/releases/download/v${PV}/${P}.zip"
-LICENSE="LGPL-2"
+LICENSE="LGPL-2.1+"
SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
IUSE=""
-DEPEND=""
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() {