From 77a1722b06f296e2af95d78098a0b4e3810a3921 Mon Sep 17 00:00:00 2001 From: Benjamin Slade Date: Tue, 12 May 2020 14:31:52 -0600 Subject: [PATCH] New package: font-cm-unicode-otf-0.7.0 --- srcpkgs/font-cm-unicode-otf/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/font-cm-unicode-otf/template diff --git a/srcpkgs/font-cm-unicode-otf/template b/srcpkgs/font-cm-unicode-otf/template new file mode 100644 index 00000000000..4c704f41157 --- /dev/null +++ b/srcpkgs/font-cm-unicode-otf/template @@ -0,0 +1,21 @@ +# Template file for 'font-cm-unicode-otf' +pkgname=font-cm-unicode-otf +version=0.7.0 +revision=1 +archs=noarch +create_wrksrc=yes +depends="font-util" +short_desc="Knuth's Computer Modern font family converted to Unicode" +maintainer="Benjamin Slade " +license="OFL-1.1" +homepage="https://cm-unicode.sourceforge.io/" +distfiles="https://sourceforge.net/projects/cm-unicode/files/cm-unicode/${version}/cm-unicode-${version}-otf.tar.xz/download>cm-unicode-${version}-otf.tar.xz" +checksum="548a7ebe4d4861b1075b5e7032b7c654e3ea835cc1643a60171fa3972a4e1c28" + +font_dirs="/usr/share/fonts/OTF" + +do_install() { + vmkdir usr/share/fonts/OTF + vcopy cm-unicode-${version}/*.otf usr/share/fonts/OTF + vlicense cm-unicode-${version}/OFL.txt LICENSE.md +}