summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 19:06:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-21 20:06:05 +0100
commit21a937c7886df409b3b37aae048a8466af158666 (patch)
treeb4743ec4d374e517e8c07859dc1d5abfca07a882 /media-fonts/jisx0213-fonts
parentmedia-fonts/infinality-ultimate-meta: EAPI-7 bump (diff)
downloadgentoo-21a937c7886df409b3b37aae048a8466af158666.tar.gz
gentoo-21a937c7886df409b3b37aae048a8466af158666.tar.bz2
gentoo-21a937c7886df409b3b37aae048a8466af158666.zip
media-fonts/jisx0213-fonts: EAPI-7 bump, add missing font_pkg_postinst
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-fonts/jisx0213-fonts')
-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."