From 8b8e5ea5e5006219f70c6a59f446479262d86978 Mon Sep 17 00:00:00 2001 From: Ishaan Bhimwal Date: Mon, 11 Jul 2022 20:12:06 +0530 Subject: [PATCH] mathjax: update to 3.2.2 and adopt --- srcpkgs/mathjax/template | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/srcpkgs/mathjax/template b/srcpkgs/mathjax/template index 643b6d2ba548..424efdef5ac0 100644 --- a/srcpkgs/mathjax/template +++ b/srcpkgs/mathjax/template @@ -1,23 +1,17 @@ # Template file for 'mathjax' pkgname=mathjax -version=2.7.9 +version=3.2.2 revision=1 wrksrc="MathJax-${version}" -depends="font-util" short_desc="JavaScript display engine for LaTeX, MathML and AsciiMath" -maintainer="Alessio Sergi " +maintainer="Ishaan Bhimwal " license="Apache-2.0" homepage="https://www.mathjax.org/" distfiles="https://github.com/mathjax/MathJax/archive/${version}.tar.gz" -checksum=c9167279c87da044f2ff910ad573a02ce90354cb59440ae568eb86e1630f65df -font_dirs="/usr/share/fonts/mathjax" +checksum=4206b9645a97f431018d0b6c4021c98607d49ba4dc129f4f2ecce675e2fcba11 do_install() { vmkdir usr/share/mathjax - vmkdir usr/share/fonts/mathjax - vcopy "MathJax.js config extensions fonts jax localization" usr/share/mathjax - for d in Asana-Math Gyre-{Pagella,Termes} Latin-Modern Neo-Euler STIX-Web TeX; do - ln -sfr ${DESTDIR}/usr/share/mathjax/fonts/HTML-CSS/${d}/otf/*.otf \ - ${DESTDIR}/usr/share/fonts/mathjax - done + vcopy es5/* usr/share/mathjax + vlicense LICENSE }