steam-fonts: use x11-fonts trigger instead of rolling own INSTALL logic.
This commit is contained in:
parent
8d44c49318
commit
b1e74d5024
2 changed files with 3 additions and 11 deletions
|
@ -1,9 +0,0 @@
|
||||||
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
|
|
|
@ -1,16 +1,17 @@
|
||||||
# Template file for 'steam-fonts'
|
# Template file for 'steam-fonts'
|
||||||
pkgname=steam-fonts
|
pkgname=steam-fonts
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
hostmakedepends="unzip"
|
hostmakedepends="unzip"
|
||||||
depends="fontconfig mkfontscale mkfontdir"
|
depends="font-util"
|
||||||
short_desc="Fonts to fix scrambled or missing text in steam menus"
|
short_desc="Fonts to fix scrambled or missing text in steam menus"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="proprietary"
|
license="proprietary"
|
||||||
homepage="https://support.steampowered.com/kb_article.php?ref=1974-YFKL-4947"
|
homepage="https://support.steampowered.com/kb_article.php?ref=1974-YFKL-4947"
|
||||||
distfiles="https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip"
|
distfiles="https://support.steampowered.com/downloads/1974-YFKL-4947/SteamFonts.zip"
|
||||||
checksum=a03bcc9581f2896cac39967633fc43546af5ed9d73d505a10cae4016797dfeb1
|
checksum=a03bcc9581f2896cac39967633fc43546af5ed9d73d505a10cae4016797dfeb1
|
||||||
|
font_dirs="/usr/share/fonts/steam-fonts"
|
||||||
restricted=yes
|
restricted=yes
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue