void-packages/srcpkgs/font-FixedMisc/template

23 lines
720 B
Bash

# Template file for 'font-FixedMisc'
pkgname=font-FixedMisc
version=20200214
revision=2
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=92cd16d302741be9314014960f2c57866b7e31f720b47df8efebfec7c6c35319
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
}