# Template file for 'font-sarasa-gothic'
pkgname=font-sarasa-gothic
version=1.0.35
revision=2
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=3fe41f6ff2c4cdb4e4c80f725cf012aecdfdf1ecca577648b5c202932df352d3
font_dirs="/usr/share/fonts/TTC/sarasa-gothic"
provides="font:monospace-0_1"

do_install() {
	vmkdir usr/share/fonts/TTC/sarasa-gothic
	vcopy "*.ttc" usr/share/fonts/TTC/sarasa-gothic
}
