From e5200f6f1a495e716c3484da9ec6558ed68188ac Mon Sep 17 00:00:00 2001 From: make-file Date: Thu, 24 Dec 2020 15:03:35 +0330 Subject: [PATCH] New package: font-vazir-code-1.1.2 --- srcpkgs/font-vazir-code/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/font-vazir-code/template diff --git a/srcpkgs/font-vazir-code/template b/srcpkgs/font-vazir-code/template new file mode 100644 index 00000000000..e84f98a3966 --- /dev/null +++ b/srcpkgs/font-vazir-code/template @@ -0,0 +1,22 @@ +# Template file for 'font-vazir-code' +pkgname=font-vazir-code +version=1.1.2 +revision=1 +create_wrksrc=yes +depends="font-util" +short_desc="Persian (farsi) monospaced font" +maintainer="mkf " +license="custom:Public Domain" +homepage="https://github.com/rastikerdar/vazir-code-font" +distfiles="https://github.com/rastikerdar/vazir-code-font/releases/download/v${version}/vazir-code-font-v${version}.zip" +checksum=5c10819faef1d281db03703a82d498815b3d73b83badfa3100f9bbcd893b071e + +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + for f in ./*.ttf; do + vinstall "$f" 644 usr/share/fonts/TTF + done + vlicense LICENSE +}