void-packages/srcpkgs/font-3270/template

21 lines
609 B
Bash

# Template file for 'font-3270'
pkgname=font-3270
version=3.0.1
revision=1
build_style=gnu-makefile
make_build_target="font"
hostmakedepends="font-util fontforge"
short_desc="3270 font in a modern format"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/rbanffy/3270font"
distfiles="https://github.com/rbanffy/3270font/archive/v${version}.tar.gz"
checksum=744b6faf38dc51226d437687b5fc56df0ebc9d0b927c9fb0297e89eddf518da4
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
vcopy build/*.ttf usr/share/fonts/TTF
vlicense LICENSE.txt
}