amiri-font: fix amiri-font package.

This commit is contained in:
maxice8 2018-06-19 22:44:53 -03:00
parent 2bb4a79ce2
commit e5861a7687
1 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,11 @@
# Template file for 'amiri-font'
pkgname=amiri-font
version=0.111
revision=1
revision=2
noarch=yes
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"
@ -11,9 +13,10 @@ 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=1fbfccced6348b5db2c1c21d5b319cd488e14d055702fa817a0f6cb83d882166
font_dirs="/usr/share/fonts/TTF"
do_install() {
for _i in *.ttf ; do
vinstall $_i 644 usr/share/fonts/ttf
vinstall $_i 644 usr/share/fonts/TTF
done
}