void-packages/srcpkgs/font-3270/template
2021-03-08 16:26:22 -03:00

21 lines
639 B
Bash

# Template file for 'font-3270'
pkgname=font-3270
version=2.3.0
revision=1
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=c29b6bb4efb95c8d85a53bd7a89146e52e0ee5901bb9acd31d3ae394913ebe5b
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy build/*.ttf usr/share/fonts/TTF
vlicense LICENSE.txt
}