diff options
author | David Seifert <soap@gentoo.org> | 2019-10-19 21:48:07 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-10-19 21:48:07 +0200 |
commit | bed7acd5a3bcc624c22f0555dfda54b720987633 (patch) | |
tree | 6ce9a2465dea927abc1b67651d7fc29a63fa6310 /media-fonts | |
parent | media-fonts/mgopen: Port to EAPI 7 (diff) | |
download | gentoo-bed7acd5a3bcc624c22f0555dfda54b720987633.tar.gz gentoo-bed7acd5a3bcc624c22f0555dfda54b720987633.tar.bz2 gentoo-bed7acd5a3bcc624c22f0555dfda54b720987633.zip |
media-fonts/shinonome: Port to EAPI 7
Bug: https://bugs.gentoo.org/697292
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r-- | media-fonts/shinonome/shinonome-0.9.11.ebuild | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/media-fonts/shinonome/shinonome-0.9.11.ebuild b/media-fonts/shinonome/shinonome-0.9.11.ebuild index 1a05e6cfaefc..dbb420925c3e 100644 --- a/media-fonts/shinonome/shinonome-0.9.11.ebuild +++ b/media-fonts/shinonome/shinonome-0.9.11.ebuild @@ -1,35 +1,35 @@ -# 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 -IUSE="" - DESCRIPTION="Japanese bitmap fonts for X" -SRC_URI="http://openlab.jp/efont/dist/shinonome/${P}.tar.bz2" HOMEPAGE="http://openlab.jp/efont/shinonome/" +SRC_URI="http://openlab.jp/efont/dist/shinonome/${P}.tar.bz2" LICENSE="public-domain" -SLOT=0 +SLOT="0" KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86" +# Only installs fonts +RESTRICT="strip binchecks" -DEPEND="x11-apps/bdftopcf" -RDEPEND="" +BDEPEND="x11-apps/bdftopcf" -FONT_SUFFIX="pcf.gz" -FONT_S=${S} DOCS="AUTHORS BUGS ChangeLog* DESIGN* INSTALL LICENSE README THANKS TODO" +FONT_S="${S}" +FONT_SUFFIX="pcf.gz" -# Only installs fonts -RESTRICT="strip binchecks" +src_configure() { + econf --with-pcf --without-bdf +} -src_compile(){ - econf --with-pcf --without-bdf || die - emake || die +src_compile() { + default - for i in *.pcf ; do - gzip -9 $i + local i + for i in *.pcf; do + gzip -9 "${i}" || die done } |