void-packages/srcpkgs/font-hack-ttf/template

24 lines
768 B
Bash

# Template file for 'font-hack-ttf'
pkgname=font-hack-ttf
version=3.003
revision=2
depends="font-util xbps-triggers"
short_desc="A typeface designed for source code"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="http://sourcefoundry.org/hack/"
distfiles="https://github.com/chrissimpkins/Hack/archive/v${version}.tar.gz"
checksum=3c6f1a20e86744077e83c9bacf879a5b13f659f1c07e9c5c57d6efc3cbe66c07
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vinstall build/ttf/Hack-Bold.ttf 644 usr/share/fonts/TTF
vinstall build/ttf/Hack-BoldItalic.ttf 644 usr/share/fonts/TTF
vinstall build/ttf/Hack-Italic.ttf 644 usr/share/fonts/TTF
vinstall build/ttf/Hack-Regular.ttf 644 usr/share/fonts/TTF
vlicense LICENSE.md
}