void-packages/srcpkgs/font-vazir/template

21 lines
607 B
Bash

# Template file for 'font-vazir'
pkgname=font-vazir
version=27.2.2
revision=1
create_wrksrc=yes
depends="font-util"
short_desc="Persian (Farsi) Font - قلم (فونت) فارسی وزیر"
maintainer="linarcx <linarcx@gmail.com>"
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=41242a8fecec467f547118a9fa6b14a9bd5c7e8f1d8f88f418c811f4b4695501
font_dirs="/usr/share/fonts/TTF"
do_install() {
for f in ./*.ttf; do
vinstall "$f" 644 usr/share/fonts/TTF
done
}