# Template file for 'font-iosevka'
pkgname=font-iosevka
version=1.1.1
revision=1
wrksrc=Iosevka-${version}
noarch="yes"
font_dirs="/usr/share/fonts/TTF"
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/archive/v${version}.tar.gz"
checksum=3c96eea5fda7eb28abcc1d582469c267d81b865f0b919037847bce722b48bbe6

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