void-packages/srcpkgs/font-vazir/template

21 lines
607 B
Bash

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