void-packages/srcpkgs/font-vazir/template

23 lines
644 B
Bash
Executable File

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