New package: font-3270-1.2.21

Closes: #6552 [via git-merge-pr]
This commit is contained in:
Diogo Leal 2017-05-30 08:13:36 -03:00 committed by Michael Aldridge
parent ee755c05f7
commit a38fc93962
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# 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
}