2018-09-06 09:00:22 +00:00
|
|
|
# Template file for 'cherry-font'
|
2018-08-14 03:31:55 +00:00
|
|
|
pkgname=cherry-font
|
2018-09-06 09:00:22 +00:00
|
|
|
version=1.1
|
2018-08-14 03:31:55 +00:00
|
|
|
revision=1
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="cherry-${version}"
|
|
|
|
hostmakedepends="bdftopcf"
|
|
|
|
depends="font-util"
|
|
|
|
font_dirs="/usr/share/fonts/X11/misc"
|
|
|
|
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"
|
2018-09-06 09:00:22 +00:00
|
|
|
checksum=c102bf9d3bb4ee8b8a7311fcd1fd08fcab43eed048312ff53907b7d2dcc5c0b9
|
2018-08-14 03:31:55 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|