New package: font-reem-kufi-ttf-1.7

Split from libreoffice-fonts
This commit is contained in:
Đoàn Trần Công Danh 2023-03-18 08:07:38 +07:00 committed by Đoàn Trần Công Danh
parent 0f190b5646
commit 4b394c2b2f
2 changed files with 27 additions and 0 deletions

1
srcpkgs/font-reem-kufi-otf Symbolic link
View File

@ -0,0 +1 @@
font-reem-kufi-ttf

View File

@ -0,0 +1,26 @@
# Template file for 'font-reem-kufi-ttf'
pkgname=font-reem-kufi-ttf
version=1.7
revision=1
depends="font-util"
short_desc="Modern Kufic typefaces for Arabic"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/aliftype/reem-kufi"
distfiles="https://github.com/aliftype/reem-kufi/releases/download/v${version}/ReemKufi-${version}.zip"
checksum=2359f036c7bddeb4d5529d7b3c9139c3288c920cc26053d417cdbb563eafe0a4
font_dirs="/usr/share/fonts/TTF/arabic"
do_install() {
vmkdir usr/share/fonts/TTF/arabic
vcopy "ttf/*.ttf" usr/share/fonts/TTF/arabic
}
font-reem-kufi-otf_package() {
short_desc+=" - OTF"
font_dirs="/usr/share/fonts/OTF/arabic"
pkg_install() {
vmkdir usr/share/fonts/OTF/arabic
vcopy "*.otf" usr/share/fonts/OTF/arabic
}
}