diff options
Diffstat (limited to 'academic/mathjax2/mathjax2.SlackBuild')
-rw-r--r-- | academic/mathjax2/mathjax2.SlackBuild | 9 |
1 files changed, 4 insertions, 5 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 |