void-packages/srcpkgs/font-FixedMisc/template

24 lines
751 B
Bash

# Template file for 'font-FixedMisc'
pkgname=font-FixedMisc
version=20151206
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="Christian Neukirchen <chneukirchen@gmail.com>"
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=fc042421281d4c143f7dc1d0e3c31daa8f1475f4eec582b311903f9de8bed051
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
}