# Template file for 'font-iosevka'
pkgname=font-iosevka
version=21.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
 53690b48abc3f66437ca877736327f696eff3374fddd36de435b7547914bc108
 b4b3225afe1ddc0a0092835dd4c8bfb65b440b9c44d3e1ca92ff57c5b9b3a6e1"

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

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