void-packages/srcpkgs/amiri-font/template
2019-10-01 13:56:15 +03:00

22 lines
672 B
Bash

# Template file for 'amiri-font'
pkgname=amiri-font
version=0.112
revision=1
archs=noarch
wrksrc="Amiri-${version}"
hostmakedepends="unzip"
depends="font-util"
short_desc="Classical Arabic typeface in Naskh style"
maintainer="John <johnz@posteo.net>"
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=b9da1916f5e1028ea5d8404f7ac7b3722576d794b1053b6be11f1a02651ddf3c
font_dirs="/usr/share/fonts/TTF"
do_install() {
for _i in *.ttf ; do
vinstall $_i 644 usr/share/fonts/TTF
done
}