void-packages/srcpkgs/font-3270/template
Diogo Leal a38fc93962 New package: font-3270-1.2.21
Closes: #6552 [via git-merge-pr]
2017-06-22 00:44:18 -07:00

25 lines
662 B
Bash

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