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

25 lines
885 B
Bash

# Template file for 'font-hermit-otf'
pkgname=font-hermit-otf
version=2.0
revision=2
create_wrksrc=yes
hostmakedepends="unzip"
depends="font-util xbps-triggers"
short_desc="Monospace font designed to be clear, pragmatic and very readable"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}