media-fonts/mikachan-font-ttf: Bump to EAPI 7
authorMichał Górny <mgorny@gentoo.org>
Sat, 19 Oct 2019 16:57:16 +0000 (18:57 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 19 Oct 2019 17:06:20 +0000 (19:06 +0200)
Closes: https://bugs.gentoo.org/697294
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-fonts/mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild

index 4150ce579921fc7cac6e802e55d7aa0caedd1ea3..0d9ad05c752dbef018d9d08197397e57c38087d8 100644 (file)
@@ -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}