void-packages/srcpkgs/font-hermit-otf/template

26 lines
899 B
Bash

# Template file for 'font-hermit-otf'
pkgname=font-hermit-otf
version=2.0
revision=1
archs=noarch
create_wrksrc=yes
hostmakedepends="unzip"
depends="font-util xbps-triggers"
short_desc="Monospace font designed to be clear, pragmatic and very readable"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="OFL-1.1"
homepage="https://pcaro.es/p/hermit/"
distfiles="https://pcaro.es/d/otf-hermit-${version}.tar.gz"
checksum=c04b432b088edabc8ff025049535077722869f842fb6f851864106b7f4f03527
font_dirs="/usr/share/fonts/OTF"
do_install() {
vmkdir usr/share/fonts/OTF
vinstall Hermit-Bold.otf 644 usr/share/fonts/OTF
vinstall Hermit-BoldItalic.otf 644 usr/share/fonts/OTF
vinstall Hermit-Light.otf 644 usr/share/fonts/OTF
vinstall Hermit-LightItalic.otf 644 usr/share/fonts/OTF
vinstall Hermit-Regular.otf 644 usr/share/fonts/OTF
vinstall Hermit-RegularItalic.otf 644 usr/share/fonts/OTF
}