# Template file for 'font-hermit-otf'
pkgname=font-hermit-otf
version=1.21
revision=1
license="OFL-1.1"
depends="font-util xbps-triggers"
noarch="yes"
hostmakedepends="unzip"
font_dirs="/usr/share/fonts/OTF"
create_wrksrc=yes
short_desc="A monospace font designed to be clear, pragmatic and very readable"
maintainer="Diogo Leal <diogo@diogoleal.com>"
homepage="https://pcaro.es/p/hermit/"
distfiles="https://pcaro.es/d/otf-hermit-${version}.tar.gz"
checksum=2966e83f012e6a31a861e3afdcb89d157f12b307f2367303d58be364d4308b85

do_install() {
	vmkdir usr/share/fonts/OTF
	vinstall Hermit-bold.otf 644  usr/share/fonts/OTF
	vinstall Hermit-light.otf 644  usr/share/fonts/OTF
	vinstall Hermit-medium.otf 644  usr/share/fonts/OTF
}
