diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2014-09-15 18:51:12 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-20 17:11:08 +0700 |
commit | fe10bc0a31d7128c015bde18d1a7c74c11ba6033 (patch) | |
tree | 283a7f07e4cf05066bdac3ab18175762159e082e /development | |
parent | 6aa72f7b8ff7e0aed1d44f8dd554a846c136b927 (diff) | |
download | slackbuilds-fe10bc0a31d7128c015bde18d1a7c74c11ba6033.tar.gz |
development/ipython-mathjax: Updated for version 2.4.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development')
-rw-r--r-- | development/ipython-mathjax/ipython-mathjax.SlackBuild | 10 | ||||
-rw-r--r-- | development/ipython-mathjax/ipython-mathjax.info | 6 |
2 files changed, 6 insertions, 10 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 diff --git a/development/ipython-mathjax/ipython-mathjax.info b/development/ipython-mathjax/ipython-mathjax.info index 882c680077..d81dfc8770 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" |