diff options
author | David Seifert <soap@gentoo.org> | 2019-10-19 22:11:26 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-10-19 22:11:26 +0200 |
commit | afe45c3c3c60dc1bc00caf40ba65dc0edbf29fc0 (patch) | |
tree | e310e5da17dc55e30f3e3fb06c75d44bb1844ca2 /media-fonts/vc-fonts | |
parent | media-fonts/fs-fonts: Port to EAPI 7 (diff) | |
download | gentoo-afe45c3c3c60dc1bc00caf40ba65dc0edbf29fc0.tar.gz gentoo-afe45c3c3c60dc1bc00caf40ba65dc0edbf29fc0.tar.bz2 gentoo-afe45c3c3c60dc1bc00caf40ba65dc0edbf29fc0.zip |
media-fonts/vc-fonts: Port to EAPI 7
Bug: https://bugs.gentoo.org/697308
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-fonts/vc-fonts')
-rw-r--r-- | media-fonts/vc-fonts/vc-fonts-20020207-r2.ebuild | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/media-fonts/vc-fonts/vc-fonts-20020207-r2.ebuild b/media-fonts/vc-fonts/vc-fonts-20020207-r2.ebuild index 2ac1d4fc9943..8f608d887731 100644 --- a/media-fonts/vc-fonts/vc-fonts-20020207-r2.ebuild +++ b/media-fonts/vc-fonts/vc-fonts-20020207-r2.ebuild @@ -1,33 +1,32 @@ -# 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 font-ebdftopcf DESCRIPTION="Vico bitmap Fonts" -SRC_URI="http://vico.kleinplanet.de/files/${P}.tar.bz2 - mirror://gentoo/bleed3.bdf.gz" HOMEPAGE="http://vico.kleinplanet.de/" +SRC_URI=" + http://vico.kleinplanet.de/files/${P}.tar.bz2 + mirror://gentoo/bleed3.bdf.gz" -KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86" LICENSE="GPL-2" -SLOT=0 -IUSE="" +SLOT="0" +KEYWORDS="alpha amd64 arm ia64 ppc ppc64 s390 sh sparc x86" +# Only installs fonts +RESTRICT="strip binchecks" S="${WORKDIR}/vc" -FONT_S="${S}" + FONT_PN="vc" -FONTDIR="/usr/share/fonts/${FONT_PN}" +FONT_S="${S}" FONT_SUFFIX="bdf pcf.gz" +FONTDIR="/usr/share/fonts/${FONT_PN}" -#Only installs fonts -RESTRICT="strip binchecks" - -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { + default - mv "${WORKDIR}"/bleed3.bdf "${S}" - rm bleed2.pcf.gz + mv ../bleed3.bdf . || die + rm bleed2.pcf.gz || die } |