From d7990e21eddeb43738223616f27ce84e08b59f1b Mon Sep 17 00:00:00 2001 From: bnhrkn Date: Thu, 26 Aug 2021 00:40:23 -0400 Subject: [PATCH] New package: font-latinmodern-otf-2.004 --- srcpkgs/font-latinmodern-otf/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/font-latinmodern-otf/template diff --git a/srcpkgs/font-latinmodern-otf/template b/srcpkgs/font-latinmodern-otf/template new file mode 100644 index 000000000000..1a545b49f793 --- /dev/null +++ b/srcpkgs/font-latinmodern-otf/template @@ -0,0 +1,26 @@ +# Template file for 'font-latinmodern-otf' +pkgname=font-latinmodern-otf +version=2.004 +revision=1 +create_wrksrc=yes +depends="font-util xbps-triggers" +short_desc="Fonts derived from the Computer Modern fonts originally used in TeX" +maintainer="bnhrkn " +license="custom:GFL" +homepage="http://www.gust.org.pl/projects/e-foundry/latin-modern" +distfiles="http://www.gust.org.pl/projects/e-foundry/latin-modern/download/lm${version}otf.zip + http://www.gust.org.pl/projects/e-foundry/latin-modern/licenses/GUST-FONT-LICENSE.txt" +checksum="5b0236051d3728be6616f1b274e3b910473875b5a3ef9382f0ef00384ddb161b + a746108477b2fa685845e7596b7ad8342bc358704b2b7da355f2df0a0cb8ad85" + +skip_extraction="http://www.gust.org.pl/projects/e-foundry/latin-modern/licenses/GUST-FONT-LICENSE.txt" + +font_dirs="/usr/share/fonts/OTF" + +do_install() { + vmkdir usr/share/fonts/OTF + + vcopy *.otf usr/share/fonts/OTF + + vlicense GUST-FONT-LICENSE.txt LICENSE +}