void-packages/srcpkgs/steam-fonts/template

26 lines
790 B
Bash
Raw Normal View History

2015-05-16 13:46:22 +00:00
# Template file for 'steam-fonts'
pkgname=steam-fonts
version=1.0.0
revision=1
noarch=yes
hostmakedepends="unzip"
depends="fontconfig mkfontscale mkfontdir"
short_desc="Fonts to fix scrambled or missing text in steam menus"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
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
do_extract() {
mkdir -p ${wrksrc}
cd ${wrksrc}
unzip ${XBPS_HOSTDIR}/sources/${pkgname}-${version}/SteamFonts.zip
}
do_install() {
vmkdir usr/share/fonts/steam-fonts
vcopy *.ttf usr/share/fonts/steam-fonts
vcopy *.TTF usr/share/fonts/steam-fonts
}