# Template file for 'font-cozette'
pkgname=font-cozette
version=1.18.0
revision=1
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"
changelog="https://github.com/slavfox/Cozette/raw/master/CHANGELOG.md"
distfiles="https://github.com/slavfox/Cozette/releases/download/v.${version}/CozetteFonts.zip"
checksum=710966cb1d310c1af2340bfe77e67741d92ac38d4060d284e0090495c1534b8b
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
}
