void-packages/srcpkgs/tewi-font/template

27 lines
624 B
Bash

# Template file for 'tewi-font'
pkgname=tewi-font
version=2.0.2
revision=1
noarch="yes"
depends="font-util"
hostmakedepends="bdftopcf python3"
font_dirs="/usr/share/fonts/misc"
short_desc="Programming monospace bitmap font"
maintainer='Adrian Siekierka <kontakt@asie.pl>'
license="MIT"
homepage="http://github.com/lucy/tewi-font"
distfiles="https://github.com/lucy/tewi-font/archive/${version}.tar.gz"
checksum=ab75f32942424fadbd20cfc3fae264ec0f11cfe908aab9d1385840bee2831830
do_build() {
make
}
do_install() {
for f in out/*.pcf.gz; do
vinstall "$f" 644 usr/share/fonts/misc
done
vlicense LICENSE
vdoc README.md
}