25 lines
748 B
Bash
25 lines
748 B
Bash
# Template file for 'cherry-font'
|
|
pkgname=cherry-font
|
|
version=1.3
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="cherry-${version}"
|
|
hostmakedepends="bdftopcf"
|
|
depends="font-util"
|
|
short_desc="Yet another bitmap font, made for Latin 1"
|
|
maintainer="Chinmay Pai <chinmaydpai@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/turquoise-hexagon/cherry"
|
|
distfiles="https://github.com/turquoise-hexagon/cherry/archive/${version}.tar.gz"
|
|
checksum=3fd95e66f9baa8c71f3a513fb807ff72a44605e30938b2be6157a68a1d5ed57e
|
|
|
|
font_dirs="/usr/share/fonts/X11/misc"
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/X11/misc
|
|
for f in cherry-10-{b,r} cherry-11-{b,r} cherry-13-{b,r}; do
|
|
bdftopcf -t $f.bdf | gzip -n9 >${DESTDIR}/usr/share/fonts/X11/misc/$f.pcf.gz
|
|
done
|
|
vlicense LICENSE
|
|
}
|