void-packages/srcpkgs/font-hack-ttf/template
2016-04-26 16:49:15 +02:00

25 lines
846 B
Bash

# Template file for 'font-hack-ttf'
pkgname=font-hack-ttf
version=2.020
revision=1
wrksrc=Hack-${version}
noarch="yes"
short_desc="A typeface designed for source code"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="Hack Open Font License"
depends="font-util xbps-triggers"
hostmakedepends="unzip"
font_dirs="/usr/share/fonts/TTF"
homepage="http://sourcefoundry.org/hack/"
distfiles="https://github.com/chrissimpkins/Hack/archive/v${version}.tar.gz"
checksum=60c75b9a1e68fd8e450d56eadb66b963d2a0f1907fc2f0e9c9bfe6c00793ebfd
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
}