# Template file for 'font-iosevka'
pkgname=font-iosevka
version=3.4.4
revision=1
archs=noarch
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://be5invis.github.io/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
 654f3afbe1999faaadda7c53dfd6d1285a917f23a8a6f5b06a9e98a3eb856bdc
 c29ab9e62037a3a2eac6aa296c25ee683d5dca57168ae4753eafb48e55f38b35"

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

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