void-packages/srcpkgs/font-3270/template
Diogo Leal 2cfd9ab378 font-3270: update to 1.2.23
Closes: #6832 [via git-merge-pr]
2017-06-24 21:14:36 +02:00

25 lines
662 B
Bash

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