void-packages/srcpkgs/steam-fonts/template

22 lines
700 B
Bash

# Template file for 'steam-fonts'
pkgname=steam-fonts
version=1.0.0
revision=2
noarch=yes
hostmakedepends="unzip"
depends="fontconfig mkfontscale mkfontdir"
short_desc="Fonts to fix scrambled or missing text in steam menus"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="proprietary"
homepage="https://support.steampowered.com/kb_article.php?ref=1974-YFKL-4947"
distfiles="https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip"
checksum=a03bcc9581f2896cac39967633fc43546af5ed9d73d505a10cae4016797dfeb1
restricted=yes
create_wrksrc=yes
do_install() {
vmkdir usr/share/fonts/steam-fonts
vcopy *.ttf usr/share/fonts/steam-fonts
vcopy *.TTF usr/share/fonts/steam-fonts
}