Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ttf-vista-fonts package (nonfree) #49996

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FoggyMtnDrifter
Copy link

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, x86_64

@FoggyMtnDrifter
Copy link
Author

This package namely allows the installation of the Calibri, Cambria, and a few other more modern Microsoft Office fonts that will be used for better Microsoft Office compatibility.

@chrysos349
Copy link
Contributor

Cleaned up a bit.

# 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
}

@FoggyMtnDrifter
Copy link
Author

Updated, changes have been tested and verified. Thanks!

@classabbyamp classabbyamp added the new-package This PR adds a new package label Apr 24, 2024
@fanyx
Copy link
Contributor

fanyx commented Apr 24, 2024

squash the commits into: "New package: ttf-vista-fonts-1.0.0"

@0x5c
Copy link
Contributor

0x5c commented Apr 24, 2024

e3d280f

Don't use merge commits, use rebase instead.

@FoggyMtnDrifter
Copy link
Author

Sorry about that, should be all good now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants