From fcbc29b0b79e3ba0f6a366a040ba9ac84106e583 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 12 Oct 2019 18:54:04 +0530 Subject: [PATCH] New package: scientifica-font --- srcpkgs/scientifica-font/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/scientifica-font/template diff --git a/srcpkgs/scientifica-font/template b/srcpkgs/scientifica-font/template new file mode 100644 index 00000000000..9576af7d648 --- /dev/null +++ b/srcpkgs/scientifica-font/template @@ -0,0 +1,23 @@ +# Template file for 'scientifica-font' +pkgname=scientifica-font +version=1.1 +revision=1 +archs=noarch +create_wrksrc="yes" +depends="font-util" +short_desc="Tall and Condensed bitmap font for geeks" +maintainer="Akshay " +license="OFL-1.1" +homepage="https://github.com/nerdypepper/scientifica" +distfiles="https://github.com/NerdyPepper/scientifica/releases/download/v${version}/scientifica-v${version}.tar.gz" +checksum=1163aaed072456a2253dcb0220facd6f7c5bd55791e5b95015521e95d01ca406 +font_dirs="/usr/share/fonts/X11/misc" + +do_install() { + vmkdir "$font_dirs" + for i in *.otb; do + vinstall "$i" 644 "$font_dirs" + done + vdoc README.md + vlicense LICENSE +}