font-sarasa-gothic: use correct path

This commit is contained in:
Vinfall 2025-01-20 10:07:18 +08:00 committed by classabbyamp
parent 594e5ab858
commit ade7a5aef5

View file

@ -1,7 +1,7 @@
# Template file for 'font-sarasa-gothic'
pkgname=font-sarasa-gothic
version=1.0.27
revision=1
revision=2
depends="font-util"
short_desc="CJK programming font based on Iosevka and Source Han Sans"
maintainer="B. Wilson <x@wilsonb.com>"
@ -9,11 +9,9 @@ license="OFL-1.1"
homepage="https://github.com/be5invis/Sarasa-Gothic"
distfiles="https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/Sarasa-TTC-${version}.7z"
checksum=9eecd0122fa546d9a5f8d4b9b7fc6f9ddc41ca107b6f2990ae68456da80d61a6
font_dirs="/usr/share/fonts/TTF"
font_dirs="/usr/share/fonts/TTC/sarasa-gothic"
do_install() {
local file
for file in *.ttc; do
vinstall $file 0644 usr/share/fonts/TTF
done
vmkdir usr/share/fonts/TTC/sarasa-gothic
vcopy "*.ttc" usr/share/fonts/TTC/sarasa-gothic
}