void-packages/srcpkgs/font-cozette/template

30 lines
1.1 KiB
Bash

# Template file for 'font-cozette'
pkgname=font-cozette
version=1.23.2
revision=1
create_wrksrc=yes
hostmakedepends="font-util bdftopcf"
depends="font-util"
short_desc="Bitmap programming font optimized for coziness"
maintainer="Orphaned <orphan@voidlinux.org>"
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-v-${version//./-}.zip"
checksum=88428fabfb47bed97878e485d6dd22023bed8bd3ca0f4aea5bf11b8d4473b748
font_dirs="/usr/share/fonts/misc /usr/share/fonts/TTF"
do_install() {
cd CozetteFonts
bdftopcf -t -o cozette.pcf cozette.bdf
bdftopcf -t -o cozette_hidpi.pcf cozette_hidpi.bdf
vinstall cozette.pcf 644 usr/share/fonts/misc
vinstall cozette.otb 644 usr/share/fonts/misc
vinstall cozette_hidpi.pcf 644 usr/share/fonts/misc
vinstall cozette_hidpi.otb 644 usr/share/fonts/misc
vinstall CozetteVector.ttf 644 usr/share/fonts/TTF
vinstall CozetteVectorBold.ttf 644 usr/share/fonts/TTF
vlicense LICENSE
}