void-packages/srcpkgs/font-cozette/template
2022-01-29 21:07:39 +01:00

24 lines
789 B
Bash

# Template file for 'font-cozette'
pkgname=font-cozette
version=1.11.3
revision=2
create_wrksrc=yes
hostmakedepends="font-util bdftopcf"
depends="font-util"
short_desc="Bitmap programming font optimized for coziness"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://github.com/slavfox/Cozette"
distfiles="https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts.zip"
checksum=0976f61ba68b3a261568819bce0b89d43ae2892ad51e5da399dab8a5894cbbc8
font_dirs="/usr/share/fonts/misc /usr/share/fonts/TTF"
do_install() {
cd CozetteFonts
bdftopcf -t -o cozette.pcf cozette.bdf
vinstall cozette.pcf 644 usr/share/fonts/misc
vinstall cozette.otb 644 usr/share/fonts/misc
vinstall CozetteVector.ttf 644 usr/share/fonts/TTF
vlicense LICENSE
}