void-packages/srcpkgs/amiri-font/template
2020-11-02 18:22:16 +01:00

21 lines
661 B
Bash

# Template file for 'amiri-font'
pkgname=amiri-font
version=0.113
revision=2
wrksrc="Amiri-${version}"
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://github.com/alif-type/amiri/blob/master/NEWS.md"
distfiles="https://github.com/alif-type/amiri/releases/download/${version}/Amiri-${version}.zip"
checksum=0e43960c075ca372cffe563d00b72d13aa775237868fea4f8c6a6fe03818a68d
font_dirs="/usr/share/fonts/TTF"
do_install() {
for _i in *.ttf ; do
vinstall $_i 644 usr/share/fonts/TTF
done
}