mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mathjax: update to 3.2.2.
This commit is contained in:
parent
8ced4d52b5
commit
1cbfc88a48
1 changed files with 3 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'mathjax'
|
# Template file for 'mathjax'
|
||||||
pkgname=mathjax
|
pkgname=mathjax
|
||||||
version=2.7.9
|
version=3.2.2
|
||||||
revision=1
|
revision=1
|
||||||
depends="font-util"
|
depends="font-util"
|
||||||
short_desc="JavaScript display engine for LaTeX, MathML and AsciiMath"
|
short_desc="JavaScript display engine for LaTeX, MathML and AsciiMath"
|
||||||
|
@ -8,15 +8,9 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://www.mathjax.org/"
|
homepage="https://www.mathjax.org/"
|
||||||
distfiles="https://github.com/mathjax/MathJax/archive/${version}.tar.gz"
|
distfiles="https://github.com/mathjax/MathJax/archive/${version}.tar.gz"
|
||||||
checksum=c9167279c87da044f2ff910ad573a02ce90354cb59440ae568eb86e1630f65df
|
checksum=4206b9645a97f431018d0b6c4021c98607d49ba4dc129f4f2ecce675e2fcba11
|
||||||
font_dirs="/usr/share/fonts/mathjax"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/mathjax
|
vmkdir usr/share/mathjax
|
||||||
vmkdir usr/share/fonts/mathjax
|
vcopy "es5/*" 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
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue