void-packages/srcpkgs/font-vazir/template

23 lines
644 B
Bash
Executable File

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