aboutsummaryrefslogtreecommitdiff
path: root/development/ipython-mathjax/ipython-mathjax.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2014-09-15 18:51:12 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-20 17:11:08 +0700
commitfe10bc0a31d7128c015bde18d1a7c74c11ba6033 (patch)
tree283a7f07e4cf05066bdac3ab18175762159e082e /development/ipython-mathjax/ipython-mathjax.SlackBuild
parent6aa72f7b8ff7e0aed1d44f8dd554a846c136b927 (diff)
development/ipython-mathjax: Updated for version 2.4.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development/ipython-mathjax/ipython-mathjax.SlackBuild')
-rw-r--r--development/ipython-mathjax/ipython-mathjax.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/development/ipython-mathjax/ipython-mathjax.SlackBuild b/development/ipython-mathjax/ipython-mathjax.SlackBuild
index 4b7802ebf266..728a71bf74f5 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