void-packages/srcpkgs/font-vazir/template

23 lines
644 B
Bash
Executable File

# Template file for 'font-vazir'
pkgname=font-vazir
version=22.0.0
revision=1
archs=noarch
create_wrksrc=yes
hostmakedepends="unzip"
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=6897f71cd087c26a134a42ecb7d4b70ad27b24b7f521449260ba663cc3e9f9cd
font_dirs="/usr/share/fonts/TTF"
do_install() {
for f in ./*.ttf; do
vinstall "$f" 644 usr/share/fonts/TTF
done
}