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

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