diff options
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.ebuild | 21 |
1 files changed, 13 insertions, 8 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 b2edab87d288..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 2013-2020 Gentoo Authors +# 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 ~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() { |