void-packages/srcpkgs/font-vazir/template

21 lines
607 B
Bash

# Template file for 'font-vazir'
pkgname=font-vazir
version=30.1.0
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=0b10a9624f45b00c68a22b5727697ebc0ed94d5bf067e81cdad02d5e7e91f02d
font_dirs="/usr/share/fonts/TTF"
do_install() {
for f in ./*.ttf; do
vinstall "$f" 644 usr/share/fonts/TTF
done
}