void-packages/srcpkgs/font-3270/template

23 lines
652 B
Bash

# Template file for 'font-3270'
pkgname=font-3270
version=2.0.0
revision=1
noarch=yes
wrksrc="3270font-${version}"
font_dirs="/usr/share/fonts/TTF"
build_style=gnu-makefile
make_build_target="font"
hostmakedepends="font-util fontforge"
short_desc="A 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=46eae7e13ca38037e55c269c2a8fa26af7e9db10abf203fd35494dbc3d39a15c
do_install() {
vmkdir usr/share/fonts/TTF
vcopy build/*.ttf usr/share/fonts/TTF
vlicense LICENSE.txt
}