mathjax: update to 2.6.0

This commit is contained in:
Alessio Sergi 2015-12-31 16:16:16 +01:00
parent cf2803bfbd
commit 3bd4bf487a

View file

@ -1,6 +1,6 @@
# Template file for 'mathjax'
pkgname=mathjax
version=2.5.3
version=2.6.0
revision=1
noarch=yes
wrksrc="MathJax-${version}"
@ -11,12 +11,12 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.mathjax.org/"
license="Apache-2.0"
distfiles="https://github.com/mathjax/MathJax/archive/${version}.tar.gz"
checksum=d24fcd6e66db4d79177513fbd25be9b75bff30f2a379199e8a05d5051fed5df3
checksum=1c2be5eeb6d423eaaa5fd162602ad482a2c3fb923844c94cca2e748ece267a68
do_install() {
vmkdir usr/share/mathjax
vmkdir usr/share/fonts/mathjax
vcopy "MathJax.js config extensions fonts jax images localization test" usr/share/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