# Template file for 'font-iosevka'
pkgname=font-iosevka
version=19.0.0
revision=1
create_wrksrc=yes
depends="font-util"
short_desc="Slender monospace sans-serif and slab-serif typeface"
maintainer="Jose G Perez Taveras <josegpt27@gmail.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="7484961b97b41985d54c21700e53f7142a7007d72401acbd32c0b9c6a5a0b558
 015fcd86d26e42ce4314348427977bac0cb30f48598d4a619147183265458fbd
 64b30e898e8b1d7a9ca974c8a4c47685a6709d546190bef20ed167f402f8891d"

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

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