# Template file for 'font-iosevka'
pkgname=font-iosevka
version=1.13.4
revision=1
create_wrksrc=yes
noarch="yes"
font_dirs="/usr/share/fonts/TTF"
hostmakedepends="unzip"
depends="font-util xbps-triggers"
short_desc="A slender monospace sans-serif and slab-serif typeface"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="SIL Open Font License"
homepage="https://be5invis.github.io/Iosevka/"
distfiles="https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip"
checksum=02b2bc4a4b93d68ef8a4ada2e658983cc0b8a93c74586fb76827ac2d2ad5877a

do_install() {
	vmkdir usr/share/fonts/TTF
	vcopy *.ttc usr/share/fonts/TTF
	$XBPS_FETCH_CMD https://raw.githubusercontent.com/be5invis/Iosevka/v${version}/LICENSE.md
	vlicense LICENSE.md
}
