diff --git a/srcpkgs/font-reem-kufi-otf b/srcpkgs/font-reem-kufi-otf new file mode 120000 index 00000000000..41c6896a461 --- /dev/null +++ b/srcpkgs/font-reem-kufi-otf @@ -0,0 +1 @@ +font-reem-kufi-ttf \ No newline at end of file diff --git a/srcpkgs/font-reem-kufi-ttf/template b/srcpkgs/font-reem-kufi-ttf/template new file mode 100644 index 00000000000..37d2d90373a --- /dev/null +++ b/srcpkgs/font-reem-kufi-ttf/template @@ -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 " +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 + } +}