2015-09-15 02:43:41 +02:00
|
|
|
# Template file for 'font-hack-otf'
|
|
|
|
pkgname=font-hack-otf
|
2016-04-26 16:49:13 +02:00
|
|
|
version=2.020
|
2015-09-15 02:43:41 +02:00
|
|
|
revision=1
|
|
|
|
wrksrc=Hack-${version}
|
|
|
|
noarch="yes"
|
|
|
|
short_desc="A typeface designed for source code - OTF format"
|
|
|
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
|
|
|
license="Hack Open Font License"
|
|
|
|
depends="font-util xbps-triggers"
|
|
|
|
hostmakedepends="unzip"
|
|
|
|
font_dirs="/usr/share/fonts/OTF"
|
|
|
|
homepage="http://sourcefoundry.org/hack/"
|
|
|
|
distfiles="https://github.com/chrissimpkins/Hack/archive/v${version}.tar.gz"
|
2016-04-26 16:49:13 +02:00
|
|
|
checksum=60c75b9a1e68fd8e450d56eadb66b963d2a0f1907fc2f0e9c9bfe6c00793ebfd
|
2015-09-15 02:43:41 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/fonts/OTF
|
|
|
|
vinstall build/otf/Hack-Bold.otf 644 usr/share/fonts/OTF
|
|
|
|
vinstall build/otf/Hack-BoldItalic.otf 644 usr/share/fonts/OTF
|
|
|
|
vinstall build/otf/Hack-Italic.otf 644 usr/share/fonts/OTF
|
|
|
|
vinstall build/otf/Hack-Regular.otf 644 usr/share/fonts/OTF
|
|
|
|
vlicense LICENSE.md
|
|
|
|
}
|