void-packages/srcpkgs/font-3270/template

23 lines
652 B
Bash

# Template file for 'font-3270'
pkgname=font-3270
version=2.0.3
revision=1
archs=noarch
wrksrc="3270font-${version}"
build_style=gnu-makefile
make_build_target="font"
hostmakedepends="font-util fontforge"
short_desc="3270 font in a modern format"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="BSD-3-Clause"
homepage="https://github.com/rbanffy/3270font"
distfiles="https://github.com/rbanffy/3270font/archive/v${version}.tar.gz"
checksum=8a9fbf14f5fb19a40a5c2f161b08d9767185cd04bf70d6d81f843f7da39c35f3
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy build/*.ttf usr/share/fonts/TTF
vlicense LICENSE.txt
}