Merge pull request #2514 from diogoleal/font-hack-ttf

New package: font-hack-ttf-2.013
This commit is contained in:
Juan RP 2015-09-14 07:04:16 +02:00
commit c7627e28e0
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Template file for 'font-hack-ttf'
pkgname=font-hack-ttf
version=2.013
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=9fe8cf97610c4c8493f2d4732b037dfa4a9a155e0f0e99cb561c16aecff24dff
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
}