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

20 lines
695 B
Bash

# Template file for 'font-inconsolata-otf'
pkgname=font-inconsolata-otf
version=001.010
revision=4
build_style=fetch
depends="font-util xbps-triggers"
short_desc="Sans-serif monotype font designed for code listings"
maintainer="Georg Schabel <gescha@posteo.de>"
license="OFL-1.1"
homepage="http://www.levien.com/type/myfonts/inconsolata.html"
distfiles="http://levien.com/type/myfonts/Inconsolata.otf"
checksum=1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a
font_dirs="/usr/share/fonts/OTF"
do_install() {
vmkdir usr/share/fonts/OTF
install -m644 ${wrksrc}/*.otf ${DESTDIR}/usr/share/fonts/OTF
vinstall ${FILESDIR}/conf.avail 644 etc/fonts/conf.avail 75-inconsolata.conf
}