diff options
Diffstat (limited to 'development/ipython-mathjax/ipython-mathjax.SlackBuild')
-rw-r--r-- | development/ipython-mathjax/ipython-mathjax.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/development/ipython-mathjax/ipython-mathjax.SlackBuild b/development/ipython-mathjax/ipython-mathjax.SlackBuild index 4b7802ebf2..728a71bf74 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 |