aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-08-23 13:24:19 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-08-24 15:53:01 -0500
commit31502fb55182dc58cd356b94b9cfd0c862eeb0fa (patch)
treebb2e41e99cd7506e59b1d8b83d2e10863f70c984
parent723d29ee764725e78872ae395587378106d5abd7 (diff)
office/mathtex: Fixed default package type.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-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 6061ac77eccf6..28effd864cd37 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}
+