# Template file for 'font-iosevka'
pkgname=font-iosevka
version=22.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://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="fa475fc1e53f566b8355a7c201c0724c0a35a601b0f54f38dae32ff668c577e4
 412bf0ac5ce62f50a5074e7d4a1b0d3049688a99429dc00d23078689b51e9dd1"

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

do_install() {
	vmkdir usr/share/fonts/TTF
	vcopy *.ttc usr/share/fonts/TTF
}
