26 lines
846 B
Bash
26 lines
846 B
Bash
# Template file for 'font-hack-ttf'
|
|
pkgname=font-hack-ttf
|
|
version=2.019
|
|
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=d4659d9cda1c76b9484aea5f0d1aff99c240723f4ff1b599cc31793133293e4f
|
|
|
|
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
|
|
}
|
|
|