New package: mathjax-2.5.0
This commit is contained in:
parent
269efced3e
commit
5234c7fab3
1 changed files with 24 additions and 0 deletions
24
srcpkgs/mathjax/template
Normal file
24
srcpkgs/mathjax/template
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'mathjax'
|
||||
pkgname=mathjax
|
||||
version=2.5.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="MathJax-${version}"
|
||||
depends="font-util xbps-triggers"
|
||||
font_dirs="/usr/share/fonts/mathjax"
|
||||
short_desc="JavaScript display engine for LaTeX, MathML and AsciiMath"
|
||||
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=8c7e56e5959c7ccf83a1f740a2f3590b54446d2b433b5b093ef9bc54512a94cf
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/share/mathjax
|
||||
vmkdir usr/share/fonts/mathjax
|
||||
vcopy "MathJax.js config extensions fonts jax images localization test" 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…
Reference in a new issue