# Description: A JavaScript display engine for mathematics that works in all browsers
# URL: https://www.mathjax.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: fontconfig xorg-mkfontscale

name=mathjax
version=3.2.2
release=1
source=(https://github.com/mathjax/MathJax/archive/$version/MathJax-$version.tar.gz)

build() {
  mkdir -p $PKG/usr/share/fonts
  cp -r $SRC/MathJax-$version/es5 $PKG/usr/share/mathjax
}
