# Template file for 'font-iosevka'
pkgname=font-iosevka
version=4.0.0
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/"
distfiles="https://raw.githubusercontent.com/be5invis/Iosevka/v${version}/LICENSE.md>LICENSE.txt
 https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-${version}.zip
 https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-slab-${version}.zip"
checksum="e61c0988bb231a321f14cce1b119a468f279ea86826c32e943ab16dbf08c1ba9
 689e97f69cf207203d232f14382fa746bfeb5988c73d24fd2fcfcd93d1559417
 a8d09017d69918acf8e21b4ecd80edf9001c35f791bda959b9d5a69ccc0b5028"

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

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