From 77933b183b7be68363b2f2571f475359f8383df6 Mon Sep 17 00:00:00 2001 From: Chinmay Pai Date: Tue, 14 Aug 2018 09:01:55 +0530 Subject: [PATCH] New package: cherry-font-1.0_1 Signed-off-by: Chinmay Pai --- srcpkgs/cherry-font/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/cherry-font/template diff --git a/srcpkgs/cherry-font/template b/srcpkgs/cherry-font/template new file mode 100644 index 00000000000..d3e23992c09 --- /dev/null +++ b/srcpkgs/cherry-font/template @@ -0,0 +1,22 @@ +pkgname=cherry-font +version=1.0 +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 " +license="MIT" +homepage="https://github.com/turquoise-hexagon/cherry" +distfiles="https://github.com/turquoise-hexagon/cherry/archive/${version}.tar.gz" +checksum=f470269906a34d1175a5ea1bc38f75f6bc7ef33e92c86d035213f906150e69c2 + +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 +}