commit:     0c76778faa6130fb6af190a89b05b16b34030f7c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 16:57:16 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 17:06:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c76778f

media-fonts/mikachan-font-ttf: Bump to EAPI 7

Closes: https://bugs.gentoo.org/697294
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild       | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/media-fonts/mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild 
b/media-fonts/mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild
index 4150ce57992..0d9ad05c752 100644
--- a/media-fonts/mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild
+++ b/media-fonts/mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild
@@ -1,7 +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
+EAPI=7
 
 inherit font
 
@@ -18,19 +18,18 @@ LICENSE="free-noncomm"
 SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
 IUSE=""
-
-FONT_S="${WORKDIR}"
-FONT_SUFFIX="ttf"
-
 # Only installs fonts
 RESTRICT="strip binchecks"
+
+S=${WORKDIR}
+
 FONT_CONF=( "${FILESDIR}/60-mikachan.conf" )
 
 src_install() {
        insinto /usr/share/fonts/${PN}
 
        for f in "${MY_PN}" "${MY_PN}P" "${MY_PN}PB" "${MY_PN}PS" ; do
-               cd "${WORKDIR}/${f}-${PV}"
+               cd "${WORKDIR}/${f}-${PV}" || die
                doins fonts/*.ttf
                newdoc README README.${f}
                newdoc README.ja README.ja.${f}

Reply via email to