summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-19 18:57:16 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-19 19:06:20 +0200
commit0c76778faa6130fb6af190a89b05b16b34030f7c (patch)
tree7418e23e3a02830703653440f480d80ebd646779 /media-fonts/mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild
parentmedia-fonts/mikachan-font-ttc: Bump to EAPI 7 (diff)
downloadgentoo-0c76778faa6130fb6af190a89b05b16b34030f7c.tar.gz
gentoo-0c76778faa6130fb6af190a89b05b16b34030f7c.tar.bz2
gentoo-0c76778faa6130fb6af190a89b05b16b34030f7c.zip
media-fonts/mikachan-font-ttf: Bump to EAPI 7
Closes: https://bugs.gentoo.org/697294 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-fonts/mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild')
-rw-r--r--media-fonts/mikachan-font-ttf/mikachan-font-ttf-8.9-r2.ebuild13
1 files 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 4150ce579921..0d9ad05c752d 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}