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

29 lines
1.0 KiB
Bash

# Template file for 'font-vollkorn-ttf'
pkgname=font-vollkorn-ttf
version=4.015
revision=1
create_wrksrc=yes
noarch="yes"
font_dirs="/usr/share/fonts/TTF"
hostmakedepends="unzip"
depends="font-util xbps-triggers"
short_desc="The free and healthy typeface"
maintainer="ivierlin <github@ivierlin.de>"
license="OFL"
homepage="http://vollkorn-typeface.com"
distfiles="${homepage}/download/vollkorn-${version/./-}.zip"
checksum=b5cb2bb11e9a9f19f6af09bba84f905f22c5c19619ee4424742dc73caa09dce5
do_install() {
vmkdir usr/share/fonts/TTF
vinstall TTF/Vollkorn-BlackItalic.ttf 644 usr/share/fonts/TTF
vinstall TTF/Vollkorn-Black.ttf 644 usr/share/fonts/TTF
vinstall TTF/Vollkorn-BoldItalic.ttf 644 usr/share/fonts/TTF
vinstall TTF/Vollkorn-Bold.ttf 644 usr/share/fonts/TTF
vinstall TTF/Vollkorn-Italic.ttf 644 usr/share/fonts/TTF
vinstall TTF/Vollkorn-Regular.ttf 644 usr/share/fonts/TTF
vinstall TTF/Vollkorn-SemiboldItalic.ttf 644 usr/share/fonts/TTF
vinstall TTF/Vollkorn-Semibold.ttf 644 usr/share/fonts/TTF
vlicense OFL.txt
}