From d95be2eeb1a054bf58a5af6480bd6651e828304e Mon Sep 17 00:00:00 2001 From: LinArcX Date: Tue, 23 Jul 2019 10:18:09 +0430 Subject: [PATCH] New package: font-vazir-20.1.0 --- srcpkgs/font-vazir/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 srcpkgs/font-vazir/template diff --git a/srcpkgs/font-vazir/template b/srcpkgs/font-vazir/template new file mode 100755 index 00000000000..faea8ba6438 --- /dev/null +++ b/srcpkgs/font-vazir/template @@ -0,0 +1,22 @@ +# Template file for 'font-vazir' +pkgname=font-vazir +version=20.1.0 +revision=1 +archs=noarch +create_wrksrc=yes +hostmakedepends="unzip" +depends="font-util" +short_desc="Persian (Farsi) Font - قلم (فونت) فارسی وزیر" +maintainer="linarcx " +license="OFL-1.1" +homepage="https://github.com/rastikerdar/vazir-font" +distfiles="https://github.com/rastikerdar/vazir-font/releases/download/v${version}/vazir-font-v${version}.zip" +checksum=843f6bfbc7c214ab339f3e7a555bfeb20c6ddebbe3885a33a2c3b4098cf64576 + +font_dirs="/usr/share/fonts/TTF" + +do_install() { + for f in ./*.ttf; do + vinstall "$f" 644 usr/share/fonts/TTF + done +}