# Template file for 'font-iosevka'
pkgname=font-iosevka
version=2.3.2
revision=1
archs=noarch
create_wrksrc=yes
hostmakedepends="unzip"
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"
checksum="ecfd74a1d6749bf509cee122870da0186bccfae446e3f6bc5faff253577ab000
 dbb8737eb147dcfcb3e3130fb07193fc1308c9af3dd70cc850d6d73184ffea1a"

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

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