void-packages/srcpkgs/font-FixedMisc/template

25 lines
750 B
Bash

# Template file for 'font-FixedMisc'
pkgname=font-FixedMisc
version=20190911
revision=1
archs=noarch
wrksrc=FixedMisc
hostmakedepends="bdftopcf"
depends="font-util xbps-triggers"
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=1aa35a3128b3e5ca452467fca8150ad394054f60f847eca7296480bd23039dd7
font_dirs="/usr/share/fonts/X11/misc"
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
}