New package: steam-fonts-1.0.0
This commit is contained in:
parent
4a3908ad0a
commit
f7111ce807
2 changed files with 34 additions and 0 deletions
9
srcpkgs/steam-fonts/INSTALL
Normal file
9
srcpkgs/steam-fonts/INSTALL
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
case "${ACTION}" in
|
||||||
|
post)
|
||||||
|
echo -n "Updating font cache... "
|
||||||
|
fc-cache -fs >/dev/null
|
||||||
|
mkfontscale /usr/share/fonts/steam-fonts
|
||||||
|
mkfontdir /usr/share/fonts/steam-fonts
|
||||||
|
echo "done"
|
||||||
|
;;
|
||||||
|
esac
|
25
srcpkgs/steam-fonts/template
Normal file
25
srcpkgs/steam-fonts/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# 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
|
||||||
|
}
|
Loading…
Reference in a new issue