# Template file for 'font-sarasa-gothic'
pkgname=font-sarasa-gothic
version=1.0.25
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=e30e4baa237bac413b25360bec97ae504c640e391eb8ef98b2721f3479a4703f
font_dirs="/usr/share/fonts/TTF"

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