New package: ttf-vista-fonts-1.0.0

This commit is contained in:
Michael Kinder 2024-04-23 05:06:24 -04:00 committed by Leah Neukirchen
parent 76bc1bb396
commit 537b46d072

View file

@ -0,0 +1,23 @@
# Template file for 'ttf-vista-fonts'
pkgname=ttf-vista-fonts
version=1.0.0
revision=1
hostmakedepends="cabextract"
short_desc="Microsoft Vista and Office 2007 True Type Fonts"
maintainer="Michael Kinder <michael@foggymtndrifter.com>"
license="custom:microsoft"
homepage="https://docs.microsoft.com/en-us/typography/fonts/font-faq"
distfiles="https://web.archive.org/web/20171225132744/http://download.microsoft.com/download/E/6/7/E675FFFC-2A6D-4AB0-B3EB-27C9F8C8F696/PowerPointViewer.exe>${pkgname}.cab"
checksum=249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423
font_dirs="/usr/share/fonts/TTF"
restricted=yes
repository=nonfree
skip_extraction="${pkgname}.cab"
do_install() {
vsrccopy ${pkgname}.cab .
cabextract ${pkgname}.cab
cabextract --lowercase -F '*.tt[fc]' ppviewer.cab \
-d ${DESTDIR}/usr/share/fonts/TTF
vlicense EULA
}