media-fonts/jisx0213-fonts: update to EAPI 6

Package-Manager: Portage-2.3.13, Repoman-2.3.4
This commit is contained in:
Akinori Hattori
2017-12-12 23:03:22 +09:00
parent 3c5eeb918b
commit 3699fb38f5
@@ -1,10 +1,11 @@
# Copyright 1999-2007 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit font font-ebdftopcf
DESCRIPTION="Japanese fixed fonts that cover JIS0213 charset"
HOMEPAGE="http://www12.ocn.ne.jp/~imamura/jisx0213.html"
SRC_BASE1="http://www12.ocn.ne.jp/~imamura"
SRC_BASE2="http://gitatsu.hp.infoseek.co.jp/bdf"
@@ -23,17 +24,16 @@ SRC_URI="${SRC_BASE1}/jiskan16-2004-1.bdf.gz
LICENSE="public-domain"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86 ~x86-fbsd"
IUSE=""
RESTRICT="binchecks strip"
S="${WORKDIR}"
FONT_S="${S}"
FONT_PN="${PN/-fonts/}"
FONTDIR="/usr/share/fonts/${FONT_PN}"
# Only installs fonts
RESTRICT="strip binchecks"
pkg_postinst(){
if use X; then
elog "You need you add following line into 'Section \"Files\"' in"