void-packages/srcpkgs/font-FixedMisc/template

25 lines
750 B
Bash

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