# Template file for 'amiri-font'
pkgname=amiri-font
version=1.003
revision=1
hostmakedepends="unzip"
depends="font-util"
short_desc="Classical Arabic typeface in Naskh style"
maintainer="Orphaned <orphan@voidlinux.org>"
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/aliftype/amiri/releases/download/${version}/Amiri-${version}.zip"
checksum=81af0aff7d2086d8af24cea7202f7546130997982534691373485cd96744d05e
font_dirs="/usr/share/fonts/TTF"

do_install() {
	for _i in *.ttf ; do
		vinstall $_i 644 usr/share/fonts/TTF
	done
}
