summaryrefslogtreecommitdiff
path: root/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-27 06:06:27 +0000
commit8d5dbd847cbc704a6a06405856e94b461011afe3 (patch)
tree4d26462d027b14926335894749d2e01d982234d0 /media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r2.ebuild
parent5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (diff)
gentoo resync : 27.03.2021
Diffstat (limited to 'media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r2.ebuild')
-rw-r--r--media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r2.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r2.ebuild b/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r2.ebuild
index 59d1cc30fc7b..50c4d231d241 100644
--- a/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r2.ebuild
+++ b/media-fonts/jisx0213-fonts/jisx0213-fonts-20040425-r2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=7
+FONT_PN="${PN/-fonts/}"
+FONTDIR="/usr/share/fonts/${FONT_PN}"
inherit font font-ebdftopcf
DESCRIPTION="Japanese fixed fonts that cover JIS0213 charset"
@@ -20,6 +22,7 @@ SRC_URI="mirror://gentoo/jiskan16-2004-1.bdf.gz
mirror://gentoo/A12.bdf.gz
mirror://gentoo/jiskan24-2000-1.bdf.gz
mirror://gentoo/jiskan24-2000-2.bdf.gz"
+S="${WORKDIR}"
LICENSE="public-domain"
SLOT="0"
@@ -27,13 +30,8 @@ KEYWORDS="~alpha amd64 arm ~ia64 ppc s390 sparc x86"
IUSE=""
RESTRICT="binchecks strip"
-S="${WORKDIR}"
-
-FONT_S="${S}"
-FONT_PN="${PN/-fonts/}"
-FONTDIR="/usr/share/fonts/${FONT_PN}"
-
pkg_postinst() {
+ font_pkg_postinst
if use X; then
elog "You need you add following line into 'Section \"Files\"' in"
elog "XF86Config and reboot X Window System, to use these fonts."