# Template file for 'font-sarasa-gothic'
pkgname=font-sarasa-gothic
version=1.0.22
revision=1
depends="font-util"
short_desc="CJK programming font based on Iosevka and Source Han Sans"
maintainer="B. Wilson <x@wilsonb.com>"
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=d6f1264862f61a906df9cde564d637e82dc480fd08d0b6236320fccc69ec491e
font_dirs="/usr/share/fonts/TTF"

do_install() {
	local file
	for file in *.ttc; do
		vinstall $file 0644 usr/share/fonts/TTF
	done
}
