diff --git a/srcpkgs/font-sil-gentium/template b/srcpkgs/font-sil-gentium/template new file mode 100644 index 0000000000..a06cf2d5a9 --- /dev/null +++ b/srcpkgs/font-sil-gentium/template @@ -0,0 +1,20 @@ +# Template file for 'font-sil-gentium' +pkgname=font-sil-gentium +version=5.000 +revision=1 +archs=noarch +wrksrc="GentiumPlus-${version}" +hostmakedepends="unzip" +depends="font-util" +short_desc="Font that supports a wide range of Latin- and Cyrillic-based alphabets" +maintainer="Ivan Sokolov " +license="OFL-1.1" +homepage="https://software.sil.org/gentium/" +distfiles="https://software.sil.org/downloads/r/gentium/GentiumPlus-${version}.zip" +checksum=335911f17bd2de4e43742e1d0367cfeff19a90abf7ed604f100a42705042e154 +font_dirs="/usr/share/fonts/SIL" + +do_install() { + vinstall GentiumPlus-I.ttf 644 ${font_dirs} + vinstall GentiumPlus-R.ttf 644 ${font_dirs} +}