void-packages/srcpkgs/font-FixedMisc/template

24 lines
737 B
Bash

# Template file for 'font-FixedMisc'
pkgname=font-FixedMisc
version=20180429
revision=1
wrksrc="FixedMisc"
hostmakedepends="bdftopcf"
depends="font-util"
noarch="yes"
font_dirs="/usr/share/fonts/X11/misc"
short_desc="MirOS FixedMisc font (9x18)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
homepage="https://www.mirbsd.org/cvs.cgi/contrib/fonts/fixed/"
distfiles="https://www.mirbsd.org/MirOS/dist/mir/Foundry/FixedMisc-${version}.tgz"
checksum=7b18bae4071d2265d9d330b8d1e2d13aa2716a47e4ee482f88c4a84021c303db
do_install() {
vmkdir usr/share/fonts/X11/misc
for f in mirf16v8 mirf18hw mirf18fw; do
bdftopcf -t $f.bdf | gzip -n9 >${DESTDIR}/usr/share/fonts/X11/misc/$f.pcf.gz
done
vlicense README LICENSE
}