-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
29 lines (27 loc) · 1.06 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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
}