void-packages/srcpkgs/amiri-font/template

21 lines
642 B
Bash

# Template file for 'amiri-font'
pkgname=amiri-font
version=1.000
revision=1
hostmakedepends="unzip"
depends="font-util"
short_desc="Classical Arabic typeface in Naskh style"
maintainer="John <me@johnnynator.dev>"
license="OFL-1.1"
homepage="https://github.com/alif-type/amiri/"
changelog="https://raw.githubusercontent.com/aliftype/amiri/main/NEWS.md"
distfiles="https://github.com/alif-type/amiri/releases/download/${version}/Amiri-${version}.zip"
checksum=926fe1bd7dfde8e55178281f645258bfced6420c951c6f2fd532fd21691bca30
font_dirs="/usr/share/fonts/TTF"
do_install() {
for _i in *.ttf ; do
vinstall $_i 644 usr/share/fonts/TTF
done
}