summaryrefslogtreecommitdiffstats
path: root/academic/mathjax2
diff options
context:
space:
mode:
Diffstat (limited to 'academic/mathjax2')
-rw-r--r--academic/mathjax2/mathjax2.SlackBuild9
-rw-r--r--academic/mathjax2/mathjax2.info2
2 files changed, 5 insertions, 6 deletions
diff --git a/academic/mathjax2/mathjax2.SlackBuild b/academic/mathjax2/mathjax2.SlackBuild
index 975f7eefb1..bf881b5c17 100644
--- a/academic/mathjax2/mathjax2.SlackBuild
+++ b/academic/mathjax2/mathjax2.SlackBuild
@@ -30,8 +30,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=mathjax
-SRCNAM2=MathJax
+SRCNAM=MathJax
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -72,9 +71,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM2-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM2-$VERSION
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -94,7 +93,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/fonts
-cp -a ../$SRCNAM2-$VERSION $PKG/usr/share/mathjax2
+cp -a ../$SRCNAM-$VERSION $PKG/usr/share/mathjax2
mv $PKG/usr/share/mathjax2/fonts $PKG/usr/share/fonts/mathjax2
ln -s /usr/share/fonts/mathjax2 $PKG/usr/share/mathjax2/fonts
diff --git a/academic/mathjax2/mathjax2.info b/academic/mathjax2/mathjax2.info
index d78fff3d88..f9d9fc1356 100644
--- a/academic/mathjax2/mathjax2.info
+++ b/academic/mathjax2/mathjax2.info
@@ -1,7 +1,7 @@
PRGNAM="mathjax2"
VERSION="2.7.9"
HOMEPAGE="https://www.mathjax.org/"
-DOWNLOAD="https://github.com/mathjax/MathJax/archive/2.7.9/mathjax-2.7.9.tar.gz"
+DOWNLOAD="https://github.com/mathjax/MathJax/archive/2.7.9/MathJax-2.7.9.tar.gz"
MD5SUM="9032fe7c1c9dcae7f85c20c67435de23"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""