# Template file for 'font-iosevka'
pkgname=font-iosevka
version=16.3.4
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="46ecadda73abf39cda76731a94fd357b743f882dc1156b4410a2967a811c4ff1
 63a28297282bb07a36d7dc9aa9296cd0c6f438cacdcdd7e948dc7d3db393e341
 b4c5d8742d0f675ecfbc76cc517ebdc5ee9fb94c45142619df9e4a25b6829b02"

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

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