# Template file for 'font-iosevka'
pkgname=font-iosevka
version=10.3.2
revision=1
create_wrksrc=yes
depends="font-util"
short_desc="Slender monospace sans-serif and slab-serif typeface"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="OFL-1.1"
homepage="https://typeof.net/Iosevka/"
changelog="https://raw.githubusercontent.com/be5invis/Iosevka/master/CHANGELOG.md"
distfiles="https://raw.githubusercontent.com/be5invis/Iosevka/v${version}/LICENSE.md>LICENSE.txt
 https://github.com/be5invis/Iosevka/releases/download/v${version}/super-ttc-iosevka-${version}.zip
 https://github.com/be5invis/Iosevka/releases/download/v${version}/super-ttc-iosevka-slab-${version}.zip"
checksum="72c3d557ff41d871680652f56afd565ba6834c90eadc45a4ec15410dce1c0c80
 bde311f16f3f671de0ea9e0f33f175eeeda82ee5f05b765990a9a3fff6b0e282
 c26623065fdf9fa560c33b7d31b2ec71734fdf7300ed125366f666c42b59a259"

font_dirs="/usr/share/fonts/TTF"

do_install() {
	vmkdir usr/share/fonts/TTF
	vcopy *.ttc usr/share/fonts/TTF
	vlicense LICENSE.txt LICENSE.md
}
