void-packages/srcpkgs/amiri-font/template

23 lines
670 B
Bash
Raw Normal View History

2018-05-26 23:24:36 +02:00
# Template file for 'amiri-font'
pkgname=amiri-font
version=0.111
2018-06-20 03:44:53 +02:00
revision=2
noarch=yes
2018-05-26 23:24:36 +02:00
wrksrc="Amiri-${version}"
hostmakedepends="unzip"
2018-06-20 03:44:53 +02:00
depends="font-util"
2018-05-26 23:24:36 +02:00
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=1fbfccced6348b5db2c1c21d5b319cd488e14d055702fa817a0f6cb83d882166
2018-06-20 03:44:53 +02:00
font_dirs="/usr/share/fonts/TTF"
2018-05-26 23:24:36 +02:00
do_install() {
for _i in *.ttf ; do
2018-06-20 03:44:53 +02:00
vinstall $_i 644 usr/share/fonts/TTF
2018-05-26 23:24:36 +02:00
done
}