aboutsummaryrefslogtreecommitdiff
path: root/development/ipython-mathjax
diff options
context:
space:
mode:
Diffstat (limited to 'development/ipython-mathjax')
-rw-r--r--development/ipython-mathjax/ipython-mathjax.SlackBuild10
-rw-r--r--development/ipython-mathjax/ipython-mathjax.info6
2 files changed, 6 insertions, 10 deletions
diff --git a/development/ipython-mathjax/ipython-mathjax.SlackBuild b/development/ipython-mathjax/ipython-mathjax.SlackBuild
index 4b7802ebf266b..728a71bf74f52 100644
--- a/development/ipython-mathjax/ipython-mathjax.SlackBuild
+++ b/development/ipython-mathjax/ipython-mathjax.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=ipython-mathjax
SRCNAM=MathJax
-VERSION=${VERSION:-2.3}
+VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,11 +41,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$SRCNAM-$VERSION
cd $TMP
-if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
-else
- tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-fi
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
@@ -57,7 +53,7 @@ sed -i "s/imageFont:\"TeX\"/imageFont: null/" config/default.js
# install the STIX fonts
mkdir -p $PKG/usr/share/fonts/OTF
-cp fonts/HTML-CSS/STIX-Web/otf/* $PKG/usr/share/fonts/OTF
+cp fonts/HTML-CSS/TeX/otf/* $PKG/usr/share/fonts/OTF
# install the required MathJax files
mkdir -p $PKG/$MATHJAX_DIR
diff --git a/development/ipython-mathjax/ipython-mathjax.info b/development/ipython-mathjax/ipython-mathjax.info
index 882c680077b96..d81dfc877089c 100644
--- a/development/ipython-mathjax/ipython-mathjax.info
+++ b/development/ipython-mathjax/ipython-mathjax.info
@@ -1,8 +1,8 @@
PRGNAM="ipython-mathjax"
-VERSION="2.3"
+VERSION="2.4.0"
HOMEPAGE="http://www.mathjax.org/"
-DOWNLOAD="https://github.com/mathjax/MathJax/archive/v2.3.tar.gz"
-MD5SUM="91b1eff73bc9dccb99e4a431f8a2514d"
+DOWNLOAD="https://github.com/mathjax/MathJax/archive/2.4.0.tar.gz"
+MD5SUM="3c2e63a68f5d4c7e2ea7ec3a1c43986a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ipython"