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

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