vp-build/srcpkgs/font-3270/template

26 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
}