unitas/media-fonts/cfonts/cfonts-1-r1.ebuild

31 lines
933 B
Bash

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
inherit font
DESCRIPTION="Microsoft's so-called C-fonts for Windows Vista and Office 2007"
HOMEPAGE="http://www.microsoft.com/downloads/details.aspx?familyid=048DC840-14E1-467D-8DCA-19D2A8FD7485&displaylang=en"
SRC_URI="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe"
RESTRICT="mirror"
LICENSE="MSttfEULA"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="X"
DEPEND="app-arch/cabextract"
RDEPEND=""
S=${WORKDIR}
FONT_S=${WORKDIR}
FONT_SUFFIX="ttf ttc"
src_unpack() {
cabextract ${DISTDIR}/${A} > /dev/null || die "failed to unpack ${A}"
cabextract --lowercase ppviewer.cab > /dev/null || die "failed to unpack ppviewer.cab"
}