void-packages/srcpkgs/font-3270/template

23 lines
652 B
Bash

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