summaryrefslogtreecommitdiff
path: root/graphics/mtpaint/mtpaint.SlackBuild
diff options
context:
space:
mode:
authorslakmagik <slakmagik@gmail.com>2010-12-08 22:35:38 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-09 08:43:51 -0600
commitc001394930c69c2011603376ef66bc80112cae84 (patch)
treee677e75e8f6543ff035a1bf34b3c4012cffc83d4 /graphics/mtpaint/mtpaint.SlackBuild
parent61d9ff24ef6a259ce7c10f707ef4c89184ba59a6 (diff)
downloadslackbuilds-c001394930c69c2011603376ef66bc80112cae84.tar.gz
graphics/mtpaint: Miscellaneous cleanups (remove bashisms)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/mtpaint/mtpaint.SlackBuild')
-rw-r--r--graphics/mtpaint/mtpaint.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/mtpaint/mtpaint.SlackBuild b/graphics/mtpaint/mtpaint.SlackBuild
index b851af1551..d1b6e6422a 100644
--- a/graphics/mtpaint/mtpaint.SlackBuild
+++ b/graphics/mtpaint/mtpaint.SlackBuild
@@ -6,15 +6,13 @@
PRGNAM=mtpaint
VERSION=${VERSION:-3.31}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# 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
@@ -38,13 +36,13 @@ else
LIBDIRSUFFIX=""
fi
-if [[ $GTK1 == yes ]]; then
+if [ "$GTK1" = yes ]; then
GTK1=gtk1
fi
-if [[ $TKWIDGETS == yes ]]; then
+if [ "$TKWIDGETS" = yes ]; then
TKWIDGETS="gtkfilesel gtkcolsel"
fi
-if [[ $INTL == yes ]]; then
+if [ "$INTL" = yes ]; then
INTL=intl
fi
@@ -85,7 +83,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
# go ahead and make this in case the handbook is skipped
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-if [[ $HANDBOOK == yes ]]; then
+if [ $HANDBOOK = yes ]; then
unzip $CWD/${PRGNAM}_handbook-$VERSION.zip
cd ${PRGNAM}_handbook-$VERSION
chown -R root:root .