summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--office/mathtex/mathtex.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/office/mathtex/mathtex.SlackBuild b/office/mathtex/mathtex.SlackBuild
index 6061ac77ec..28effd864c 100644
--- a/office/mathtex/mathtex.SlackBuild
+++ b/office/mathtex/mathtex.SlackBuild
@@ -31,12 +31,10 @@ TAG=${TAG:-_SBo}
CGIDIR=${CGIDIR:-/var/www/cgi-bin}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -92,4 +90,5 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+