summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
committerdsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
commit687c78d5604ce299d5164ffd69de88f2dd10fefc (patch)
tree2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /games
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
downloadslackbuilds-687c78d5604ce299d5164ffd69de88f2dd10fefc.tar.gz
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild14
-rw-r--r--games/FlightGear-data/FlightGear-data.SlackBuild2
-rw-r--r--games/FlightGear/FlightGear.SlackBuild4
-rw-r--r--games/KoboDeluxe/KoboDeluxe.SlackBuild8
-rw-r--r--games/PyLotRO/PyLotRO.SlackBuild2
-rw-r--r--games/advancemame/advancemame.SlackBuild2
-rw-r--r--games/advancescan/advancescan.SlackBuild4
-rw-r--r--games/an/an.SlackBuild2
-rw-r--r--games/bloodfrontier/bloodfrontier.SlackBuild2
-rw-r--r--games/bluemoon/bluemoon.SlackBuild4
-rw-r--r--games/brainparty/brainparty.SlackBuild2
-rw-r--r--games/brickout/brickout.SlackBuild2
-rw-r--r--games/brutalchess/brutalchess.SlackBuild2
-rw-r--r--games/bzflag/bzflag.SlackBuild2
-rw-r--r--games/circuslinux/circuslinux.SlackBuild2
-rw-r--r--games/cowsay/cowsay.SlackBuild2
-rw-r--r--games/dgen/dgen.SlackBuild2
-rw-r--r--games/digger/digger.SlackBuild6
-rw-r--r--games/doomseeker/doomseeker.SlackBuild2
-rw-r--r--games/dopewars/dopewars.SlackBuild4
-rw-r--r--games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild2
-rw-r--r--games/einstein/einstein.SlackBuild2
-rw-r--r--games/fceux/fceux.SlackBuild2
-rw-r--r--games/fgrun/fgrun.SlackBuild2
-rw-r--r--games/firestorm-opensim/firestorm-opensim.SlackBuild6
-rw-r--r--games/firestorm/firestorm.SlackBuild4
-rw-r--r--games/fortune_firefly/fortune_firefly.SlackBuild2
-rw-r--r--games/freedoom/freedoom.SlackBuild2
-rw-r--r--games/gargoyle/gargoyle.SlackBuild2
-rw-r--r--games/gl-117/gl-117.SlackBuild4
-rw-r--r--games/glbsp/glbsp.SlackBuild2
-rw-r--r--games/gnuski/gnuski.SlackBuild2
-rw-r--r--games/golly/golly.SlackBuild32
-rw-r--r--games/hedgewars/hedgewars.SlackBuild8
-rw-r--r--games/hex-a-hop/hex-a-hop.SlackBuild2
-rw-r--r--games/higan/higan.SlackBuild2
-rw-r--r--games/hnefatafl/hnefatafl.SlackBuild1
-rw-r--r--games/icebreaker/icebreaker.SlackBuild2
-rw-r--r--games/jfsw/jfsw.SlackBuild2
-rw-r--r--games/jin/jin.SlackBuild8
-rw-r--r--games/jzintv/jzintv.SlackBuild2
-rw-r--r--games/kildclient/kildclient.SlackBuild2
-rw-r--r--games/koules/koules.SlackBuild2
-rw-r--r--games/lbreakout2/lbreakout2.SlackBuild2
-rw-r--r--games/lincity-ng/lincity-ng.SlackBuild2
-rw-r--r--games/loemu/loemu.SlackBuild2
-rw-r--r--games/m64py/m64py.SlackBuild2
-rw-r--r--games/micropolis/micropolis.SlackBuild2
-rw-r--r--games/mupen64plus/mupen64plus.SlackBuild4
-rw-r--r--games/nexuiz/nexuiz.SlackBuild2
-rw-r--r--games/openarena/openarena.SlackBuild2
-rw-r--r--games/openmsx-catapult/openmsx-catapult.SlackBuild4
-rw-r--r--games/openmsx/openmsx.SlackBuild4
-rw-r--r--games/pcsxr/pcsxr.SlackBuild4
-rw-r--r--games/pengupop/pengupop.SlackBuild2
-rw-r--r--games/qjoypad/qjoypad.SlackBuild2
-rw-r--r--games/rejoystick/rejoystick.SlackBuild2
-rw-r--r--games/residualvm/residualvm.SlackBuild4
-rw-r--r--games/scid/scid.SlackBuild12
-rw-r--r--games/scribble/scribble.SlackBuild2
-rw-r--r--games/smc_music/smc_music.SlackBuild2
-rw-r--r--games/smokinguns/smokinguns.SlackBuild2
-rw-r--r--games/snes9x/snes9x.SlackBuild2
-rw-r--r--games/spring/spring.SlackBuild2
-rw-r--r--games/supertux/supertux.SlackBuild4
-rw-r--r--games/supertux2/supertux2.SlackBuild12
-rw-r--r--games/tintin/tintin.SlackBuild6
-rw-r--r--games/tmw/tmw.SlackBuild2
-rw-r--r--games/tong/tong.SlackBuild2
-rw-r--r--games/trackballs/trackballs.SlackBuild2
-rw-r--r--games/tt/tt.SlackBuild2
-rw-r--r--games/tuxnes/tuxnes.SlackBuild2
-rw-r--r--games/ufoai/ufoai.SlackBuild4
-rw-r--r--games/vectoroids/vectoroids.SlackBuild2
-rw-r--r--games/worldofgoo/worldofgoo.SlackBuild4
-rw-r--r--games/worldofpadman/worldofpadman.SlackBuild2
-rw-r--r--games/xcowsay/xcowsay.SlackBuild2
-rw-r--r--games/xskat/xskat.SlackBuild4
-rw-r--r--games/z26/z26.SlackBuild2
-rw-r--r--games/zsnes/zsnes.SlackBuild2
80 files changed, 94 insertions, 187 deletions
diff --git a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
index 256f1533e0..76b596c2c3 100644
--- a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
+++ b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for Chatbot-Eliza
+# Slackware build script for Chatbot-Eliza
# Written by (Marco Cecchetti) (mrc.ildp@gmail.com)
@@ -8,27 +8,25 @@
# Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmail.com
-PRGNAM=Chatbot-Eliza
-VERSION=${VERSION:-1.04}
+PRGNAM=Chatbot-Eliza
+VERSION=${VERSION:-1.04}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+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
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/FlightGear-data/FlightGear-data.SlackBuild b/games/FlightGear-data/FlightGear-data.SlackBuild
index 677d438b30..d65d1f8eb9 100644
--- a/games/FlightGear-data/FlightGear-data.SlackBuild
+++ b/games/FlightGear-data/FlightGear-data.SlackBuild
@@ -7,12 +7,10 @@ VERSION=${VERSION:-2.12.0}
BUILD=${BUILD:-1}
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
diff --git a/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild
index f4f2667300..66bd820b88 100644
--- a/games/FlightGear/FlightGear.SlackBuild
+++ b/games/FlightGear/FlightGear.SlackBuild
@@ -8,12 +8,10 @@ VERSION=${VERSION:-2.12.0}
BUILD=${BUILD:-1}
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
@@ -61,7 +59,7 @@ cd build
-DEVENT_INPUT:STRING="ON" \
-DFG_DATA_DIR=/usr/share/${PRGNAM} \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make
make install DESTDIR=$PKG
cd ..
diff --git a/games/KoboDeluxe/KoboDeluxe.SlackBuild b/games/KoboDeluxe/KoboDeluxe.SlackBuild
index df7c95693c..5d28618c15 100644
--- a/games/KoboDeluxe/KoboDeluxe.SlackBuild
+++ b/games/KoboDeluxe/KoboDeluxe.SlackBuild
@@ -18,10 +18,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=KoboDeluxe
+PRGNAM=KoboDeluxe
VERSION=0.5.1
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -32,9 +32,9 @@ if [ -z "$ARCH" ]; then
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
diff --git a/games/PyLotRO/PyLotRO.SlackBuild b/games/PyLotRO/PyLotRO.SlackBuild
index fd9e86c26f..89bd840a68 100644
--- a/games/PyLotRO/PyLotRO.SlackBuild
+++ b/games/PyLotRO/PyLotRO.SlackBuild
@@ -26,12 +26,10 @@ VERSION=${VERSION:-0.1.15}
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
diff --git a/games/advancemame/advancemame.SlackBuild b/games/advancemame/advancemame.SlackBuild
index 56a2cbb068..d15ad3212f 100644
--- a/games/advancemame/advancemame.SlackBuild
+++ b/games/advancemame/advancemame.SlackBuild
@@ -9,12 +9,10 @@ VERSION=0.106.0
BUILD=${BUILD:-1}
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
diff --git a/games/advancescan/advancescan.SlackBuild b/games/advancescan/advancescan.SlackBuild
index 6d4c39efb9..c0264c4a10 100644
--- a/games/advancescan/advancescan.SlackBuild
+++ b/games/advancescan/advancescan.SlackBuild
@@ -10,12 +10,10 @@ VERSION=${VERSION:-1.14}
BUILD=${BUILD:-1}
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
@@ -39,7 +37,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/an/an.SlackBuild b/games/an/an.SlackBuild
index 1773ae74f2..9b6fccfe7f 100644
--- a/games/an/an.SlackBuild
+++ b/games/an/an.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-0.95_2}
BUILD=${BUILD:-1}
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
diff --git a/games/bloodfrontier/bloodfrontier.SlackBuild b/games/bloodfrontier/bloodfrontier.SlackBuild
index 009392234d..76d60e2189 100644
--- a/games/bloodfrontier/bloodfrontier.SlackBuild
+++ b/games/bloodfrontier/bloodfrontier.SlackBuild
@@ -45,7 +45,7 @@ else
SLKLDFLAGS="-L/usr/lib -L/lib"
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/bluemoon/bluemoon.SlackBuild b/games/bluemoon/bluemoon.SlackBuild
index f6d875d27b..d6c89aa78f 100644
--- a/games/bluemoon/bluemoon.SlackBuild
+++ b/games/bluemoon/bluemoon.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-1.3.2}
BUILD=${BUILD:-1}
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,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/brainparty/brainparty.SlackBuild b/games/brainparty/brainparty.SlackBuild
index 6b85070325..aeb2d15c27 100644
--- a/games/brainparty/brainparty.SlackBuild
+++ b/games/brainparty/brainparty.SlackBuild
@@ -9,12 +9,10 @@ VERSION=0.61
BUILD=${BUILD:-1}
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
diff --git a/games/brickout/brickout.SlackBuild b/games/brickout/brickout.SlackBuild
index 8e9d3ea797..f2341e4562 100644
--- a/games/brickout/brickout.SlackBuild
+++ b/games/brickout/brickout.SlackBuild
@@ -13,12 +13,10 @@ VERSION=$( echo $SRCVER | sed 's/\.//g' )
BUILD=${BUILD:-1}
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
diff --git a/games/brutalchess/brutalchess.SlackBuild b/games/brutalchess/brutalchess.SlackBuild
index c85cef6f87..feb6a36dfd 100644
--- a/games/brutalchess/brutalchess.SlackBuild
+++ b/games/brutalchess/brutalchess.SlackBuild
@@ -27,12 +27,10 @@ VERSION=0.5.2
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
diff --git a/games/bzflag/bzflag.SlackBuild b/games/bzflag/bzflag.SlackBuild
index 266770b91a..0c2700f0e5 100644
--- a/games/bzflag/bzflag.SlackBuild
+++ b/games/bzflag/bzflag.SlackBuild
@@ -29,12 +29,10 @@ VERSION=2.4.2
BUILD=${BUILD:-1}
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
diff --git a/games/circuslinux/circuslinux.SlackBuild b/games/circuslinux/circuslinux.SlackBuild
index c04f8d4b5f..309378f851 100644
--- a/games/circuslinux/circuslinux.SlackBuild
+++ b/games/circuslinux/circuslinux.SlackBuild
@@ -12,12 +12,10 @@ VERSION=${VERSION:-1.0.3}
BUILD=${BUILD:-1}
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
diff --git a/games/cowsay/cowsay.SlackBuild b/games/cowsay/cowsay.SlackBuild
index fc69ab256e..27557bce63 100644
--- a/games/cowsay/cowsay.SlackBuild
+++ b/games/cowsay/cowsay.SlackBuild
@@ -17,7 +17,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/dgen/dgen.SlackBuild b/games/dgen/dgen.SlackBuild
index d2dfcd3306..4b08e58949 100644
--- a/games/dgen/dgen.SlackBuild
+++ b/games/dgen/dgen.SlackBuild
@@ -28,12 +28,10 @@ VERSION=${VERSION:-1.31}
BUILD=${BUILD:-1}
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
diff --git a/games/digger/digger.SlackBuild b/games/digger/digger.SlackBuild
index 4e31177370..e5fa29c1b1 100644
--- a/games/digger/digger.SlackBuild
+++ b/games/digger/digger.SlackBuild
@@ -1,11 +1,11 @@
#!/bin/sh
# Slackware build script for digger
-# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
+# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
# hereby submitted to the public domain
-# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
-# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
+# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING
+# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_
# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
PRGNAM=digger
diff --git a/games/doomseeker/doomseeker.SlackBuild b/games/doomseeker/doomseeker.SlackBuild
index 04097d36ba..747585ddde 100644
--- a/games/doomseeker/doomseeker.SlackBuild
+++ b/games/doomseeker/doomseeker.SlackBuild
@@ -64,7 +64,7 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make
make install/strip DESTDIR=$PKG
cd ..
diff --git a/games/dopewars/dopewars.SlackBuild b/games/dopewars/dopewars.SlackBuild
index 3ffeed440b..03c46e1e74 100644
--- a/games/dopewars/dopewars.SlackBuild
+++ b/games/dopewars/dopewars.SlackBuild
@@ -14,12 +14,10 @@ VERSION=${VERSION:-1.5.12}
BUILD=${BUILD:-1}
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
@@ -45,7 +43,7 @@ fi
DOCS="NEWS TODO README AUTHORS INSTALL ChangeLog COPYING"
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
index 469eac5805..d1f80cf8b7 100644
--- a/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
+++ b/games/eduke32_hires_pack/eduke32_hires_pack.SlackBuild
@@ -34,7 +34,7 @@ chown -R root:root .
find . -type d | xargs chmod 755
find . -type f | xargs chmod 644
-mkdir -p $PKG/usr/share/games/eduke32
+mkdir -p $PKG/usr/share/games/eduke32
mv autoload $PKG/usr/share/games/eduke32/autoload
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/einstein/einstein.SlackBuild b/games/einstein/einstein.SlackBuild
index e9d376e0ce..f6d3bb86fc 100644
--- a/games/einstein/einstein.SlackBuild
+++ b/games/einstein/einstein.SlackBuild
@@ -27,12 +27,10 @@ VERSION=2.0
BUILD=${BUILD:-1}
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
diff --git a/games/fceux/fceux.SlackBuild b/games/fceux/fceux.SlackBuild
index d064a24c04..f1d02218ef 100644
--- a/games/fceux/fceux.SlackBuild
+++ b/games/fceux/fceux.SlackBuild
@@ -36,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/fgrun/fgrun.SlackBuild b/games/fgrun/fgrun.SlackBuild
index d9774ece8a..fb7e86dc9b 100644
--- a/games/fgrun/fgrun.SlackBuild
+++ b/games/fgrun/fgrun.SlackBuild
@@ -73,7 +73,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DSIMGEAR_SHARED=ON \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make
make install DESTDIR=$PKG
cd ..
diff --git a/games/firestorm-opensim/firestorm-opensim.SlackBuild b/games/firestorm-opensim/firestorm-opensim.SlackBuild
index 0849ffccf8..32f52f0c88 100644
--- a/games/firestorm-opensim/firestorm-opensim.SlackBuild
+++ b/games/firestorm-opensim/firestorm-opensim.SlackBuild
@@ -24,11 +24,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# NOTE: this SlackBuild is made for the Opensim release of Firestorm.
+# NOTE: this SlackBuild is made for the Opensim release of Firestorm.
# It can be used for the Second Life main grid and beta grid as well.
# However, if you require those features specific to the Havoc release
# of Firestorm you should build the standard release of Firestorm
-# for which a separate package is available.
+# for which a separate package is available.
# Both packages can be installed in parallel on the same installation.
@@ -103,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} \ No newline at end of file
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/firestorm/firestorm.SlackBuild b/games/firestorm/firestorm.SlackBuild
index 5e5f02cd14..840e996474 100644
--- a/games/firestorm/firestorm.SlackBuild
+++ b/games/firestorm/firestorm.SlackBuild
@@ -28,7 +28,7 @@
# Due to licensing reasons, this version can only be used for the
# Second Life main grid and beta grid. If you want to connect to an
# open sim you must use the Opensim release of Firestorm for which
-# a separate package is available.
+# a separate package is available.
# Both packages can be installed in parallel on the same installation.
@@ -103,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} \ No newline at end of file
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/fortune_firefly/fortune_firefly.SlackBuild b/games/fortune_firefly/fortune_firefly.SlackBuild
index 79e60c14e4..c97d65057e 100644
--- a/games/fortune_firefly/fortune_firefly.SlackBuild
+++ b/games/fortune_firefly/fortune_firefly.SlackBuild
@@ -24,7 +24,7 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-rm -rf $PKG
+rm -rf $PKG
mkdir -p $PKG $OUTPUT
mkdir -p $PKG/usr/share/games/fortunes
diff --git a/games/freedoom/freedoom.SlackBuild b/games/freedoom/freedoom.SlackBuild
index 0a1f01bae1..5e26084173 100644
--- a/games/freedoom/freedoom.SlackBuild
+++ b/games/freedoom/freedoom.SlackBuild
@@ -39,7 +39,7 @@ for zipfile in $PRGNAM-iwad $PRGNAM-ultimate freedm; do
done
# Rename to avoid conflicts with id software's doom.wad and doom2.wad.
-# zdoom will correctly find the files with these names, according to
+# zdoom will correctly find the files with these names, according to
# http://remilia.zdoom.org/wiki/IWAD
cd $PKG/usr/share/games/doom
diff --git a/games/gargoyle/gargoyle.SlackBuild b/games/gargoyle/gargoyle.SlackBuild
index 64720bf2c5..13722f8e81 100644
--- a/games/gargoyle/gargoyle.SlackBuild
+++ b/games/gargoyle/gargoyle.SlackBuild
@@ -4,7 +4,7 @@
# Written by Dugan Chen (thedoogster@gmail.com)
-PRGNAM=gargoyle
+PRGNAM=gargoyle
VERSION=${VERSION:-2011.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
diff --git a/games/gl-117/gl-117.SlackBuild b/games/gl-117/gl-117.SlackBuild
index 8d9f948dff..372579e517 100644
--- a/games/gl-117/gl-117.SlackBuild
+++ b/games/gl-117/gl-117.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-1.3.2}
BUILD=${BUILD:-1}
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,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/glbsp/glbsp.SlackBuild b/games/glbsp/glbsp.SlackBuild
index 1f4e8b810f..9986873f91 100644
--- a/games/glbsp/glbsp.SlackBuild
+++ b/games/glbsp/glbsp.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-2.24}
BUILD=${BUILD:-1}
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
diff --git a/games/gnuski/gnuski.SlackBuild b/games/gnuski/gnuski.SlackBuild
index 133ac74ff3..499c436c0e 100644
--- a/games/gnuski/gnuski.SlackBuild
+++ b/games/gnuski/gnuski.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-0.3}
BUILD=${BUILD:-1}
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
diff --git a/games/golly/golly.SlackBuild b/games/golly/golly.SlackBuild
index bab8f8dade..3363c45661 100644
--- a/games/golly/golly.SlackBuild
+++ b/games/golly/golly.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
-
+
# Slackware build script for golly
-
+
# Copyright 2012, Glenn Becker, Arlington MA USA
# All rights reserved.
#
@@ -21,12 +21,12 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
+
PRGNAM=golly
VERSION=${VERSION:-2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -34,12 +34,12 @@ if [ -z "$ARCH" ]; then
*) ARCH=$( uname -m ) ;;
esac
fi
-
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -53,9 +53,9 @@ else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
-
+
set -e
-
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -69,7 +69,7 @@ find . \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,32 +80,32 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-
+
make
make install DESTDIR=$PKG
-
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
+
for i in 16 32 48; do
convert appicon${i}.ico -resize ${i}x${i}! $PRGNAM-${i}.png
mkdir -p $PKG/usr/share/icons/hicolor/${i}x${i}/apps/
install -D -m 0644 $PRGNAM-${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
done
-
+
convert appicon.xpm $PRGNAM.png
install -D -m 0644 $PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
-
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
LICENSE README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
+
mkdir $PKG/usr/share/applications
cat $CWD/golly.desktop > $PKG/usr/share/applications/golly.desktop
-
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/games/hedgewars/hedgewars.SlackBuild b/games/hedgewars/hedgewars.SlackBuild
index 141352c521..05d7e1cf3f 100644
--- a/games/hedgewars/hedgewars.SlackBuild
+++ b/games/hedgewars/hedgewars.SlackBuild
@@ -17,10 +17,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=hedgewars
-VERSION=${VERSION:-0.9.19.3}
+PRGNAM=hedgewars
+VERSION=${VERSION:-0.9.19.3}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -31,7 +31,7 @@ if [ -z "$ARCH" ]; then
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
diff --git a/games/hex-a-hop/hex-a-hop.SlackBuild b/games/hex-a-hop/hex-a-hop.SlackBuild
index 2309e6b945..73820644a0 100644
--- a/games/hex-a-hop/hex-a-hop.SlackBuild
+++ b/games/hex-a-hop/hex-a-hop.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
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
diff --git a/games/higan/higan.SlackBuild b/games/higan/higan.SlackBuild
index b0c69256da..5e278ff56c 100644
--- a/games/higan/higan.SlackBuild
+++ b/games/higan/higan.SlackBuild
@@ -95,7 +95,7 @@ make \
phoenix="$INTERFACE" \
profile="$PROFILE"
-make install DESTDIR=$PKG prefix=/usr platform=x profile=$PROFILE
+make install DESTDIR=$PKG prefix=/usr platform=x profile=$PROFILE
# Compile ananke (tool to import ROM game files into the higan library).
make -C ananke \
diff --git a/games/hnefatafl/hnefatafl.SlackBuild b/games/hnefatafl/hnefatafl.SlackBuild
index 3e0af446a3..c465370f48 100644
--- a/games/hnefatafl/hnefatafl.SlackBuild
+++ b/games/hnefatafl/hnefatafl.SlackBuild
@@ -13,7 +13,6 @@ VERSION=${VERSION:-130920}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
diff --git a/games/icebreaker/icebreaker.SlackBuild b/games/icebreaker/icebreaker.SlackBuild
index 50c279cd42..d06934c89f 100644
--- a/games/icebreaker/icebreaker.SlackBuild
+++ b/games/icebreaker/icebreaker.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
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
diff --git a/games/jfsw/jfsw.SlackBuild b/games/jfsw/jfsw.SlackBuild
index e42b3e4984..0abd371f2b 100644
--- a/games/jfsw/jfsw.SlackBuild
+++ b/games/jfsw/jfsw.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-20051009}
BUILD=${BUILD:-1}
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
diff --git a/games/jin/jin.SlackBuild b/games/jin/jin.SlackBuild
index cb249b1fd3..1c543d91d7 100644
--- a/games/jin/jin.SlackBuild
+++ b/games/jin/jin.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for jin
+# Slackware build script for jin
#
# Copyright 2012 Edward W. Koenig Vancouver, WA, USA
# All rights reserved.
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Version 1.0 07-OCT-2012 <kingbeowulf@gmail.com>
-#
-# This is just a repackaging of the original unix tar.gz from
-# http://www.jinchess.com
+#
+# This is just a repackaging of the original unix tar.gz from
+# http://www.jinchess.com
set -e
diff --git a/games/jzintv/jzintv.SlackBuild b/games/jzintv/jzintv.SlackBuild
index b385c15d0a..71a6ce6418 100644
--- a/games/jzintv/jzintv.SlackBuild
+++ b/games/jzintv/jzintv.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-r1007}
BUILD=${BUILD:-1}
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
diff --git a/games/kildclient/kildclient.SlackBuild b/games/kildclient/kildclient.SlackBuild
index 67176221e9..8d14459dd0 100644
--- a/games/kildclient/kildclient.SlackBuild
+++ b/games/kildclient/kildclient.SlackBuild
@@ -56,7 +56,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/koules/koules.SlackBuild b/games/koules/koules.SlackBuild
index db2c322f45..2832a5aeba 100644
--- a/games/koules/koules.SlackBuild
+++ b/games/koules/koules.SlackBuild
@@ -15,12 +15,10 @@ VERSION=${VERSION:-1.4}
BUILD=${BUILD:-1}
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
diff --git a/games/lbreakout2/lbreakout2.SlackBuild b/games/lbreakout2/lbreakout2.SlackBuild
index e3c6d49a04..905b29d13c 100644
--- a/games/lbreakout2/lbreakout2.SlackBuild
+++ b/games/lbreakout2/lbreakout2.SlackBuild
@@ -27,12 +27,10 @@ VERSION=${VERSION:-2.6.3}
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
diff --git a/games/lincity-ng/lincity-ng.SlackBuild b/games/lincity-ng/lincity-ng.SlackBuild
index fba802c42d..8615d3a03d 100644
--- a/games/lincity-ng/lincity-ng.SlackBuild
+++ b/games/lincity-ng/lincity-ng.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
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
diff --git a/games/loemu/loemu.SlackBuild b/games/loemu/loemu.SlackBuild
index 059ff1c57b..6bd59b857e 100644
--- a/games/loemu/loemu.SlackBuild
+++ b/games/loemu/loemu.SlackBuild
@@ -27,12 +27,10 @@ VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
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
diff --git a/games/m64py/m64py.SlackBuild b/games/m64py/m64py.SlackBuild
index ac0a05381d..2a6b621c32 100644
--- a/games/m64py/m64py.SlackBuild
+++ b/games/m64py/m64py.SlackBuild
@@ -36,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/micropolis/micropolis.SlackBuild b/games/micropolis/micropolis.SlackBuild
index 9a188e8ed4..e7b8147101 100644
--- a/games/micropolis/micropolis.SlackBuild
+++ b/games/micropolis/micropolis.SlackBuild
@@ -30,12 +30,10 @@ VERSION=20100418
BUILD=${BUILD:-3}
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
diff --git a/games/mupen64plus/mupen64plus.SlackBuild b/games/mupen64plus/mupen64plus.SlackBuild
index 7e8f4814e2..28b12f1478 100644
--- a/games/mupen64plus/mupen64plus.SlackBuild
+++ b/games/mupen64plus/mupen64plus.SlackBuild
@@ -50,10 +50,10 @@ find . \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./m64p_build.sh V=1
+./m64p_build.sh V=1
./m64p_install.sh PREFIX=/usr LIBDIR=/usr/lib${LBIDIRSUFFIX} MANDIR=/usr/man DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
diff --git a/games/nexuiz/nexuiz.SlackBuild b/games/nexuiz/nexuiz.SlackBuild
index e0ee9bae72..487945ef7e 100644
--- a/games/nexuiz/nexuiz.SlackBuild
+++ b/games/nexuiz/nexuiz.SlackBuild
@@ -108,7 +108,7 @@ chmod 755 $PKG/usr/share/games/nexuiz/*
mkdir -p $PKG/usr/games
-# The launchers for the sdl and glx binaries automatically detect
+# The launchers for the sdl and glx binaries automatically detect
# the architecture. The launchers for the dedicated server do not.
cp $CWD/nexuiz-glx $PKG/usr/games/
cp $CWD/nexuiz-sdl $PKG/usr/games/
diff --git a/games/openarena/openarena.SlackBuild b/games/openarena/openarena.SlackBuild
index ac82ea607c..a2b5bc64a1 100644
--- a/games/openarena/openarena.SlackBuild
+++ b/games/openarena/openarena.SlackBuild
@@ -58,7 +58,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
# Keep the following for future patches. Based on past history, this
# is inevitable.
diff --git a/games/openmsx-catapult/openmsx-catapult.SlackBuild b/games/openmsx-catapult/openmsx-catapult.SlackBuild
index 8452700450..2aa2e4393d 100644
--- a/games/openmsx-catapult/openmsx-catapult.SlackBuild
+++ b/games/openmsx-catapult/openmsx-catapult.SlackBuild
@@ -29,12 +29,10 @@ VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
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
@@ -58,7 +56,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/openmsx/openmsx.SlackBuild b/games/openmsx/openmsx.SlackBuild
index f07b991c32..43c407d0e3 100644
--- a/games/openmsx/openmsx.SlackBuild
+++ b/games/openmsx/openmsx.SlackBuild
@@ -29,12 +29,10 @@ VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
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
@@ -58,7 +56,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/pcsxr/pcsxr.SlackBuild b/games/pcsxr/pcsxr.SlackBuild
index 9dc01f917c..5c4c8e466d 100644
--- a/games/pcsxr/pcsxr.SlackBuild
+++ b/games/pcsxr/pcsxr.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-1.9.92}
BUILD=${BUILD:-3}
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
@@ -67,7 +65,7 @@ LDFLAGS="$SLKLDFLAGS" \
--enable-libcdio \
--build=$ARCH-slackware-linux
-make
+make
make install DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*.?
diff --git a/games/pengupop/pengupop.SlackBuild b/games/pengupop/pengupop.SlackBuild
index e5905efcb9..60c7ac0713 100644
--- a/games/pengupop/pengupop.SlackBuild
+++ b/games/pengupop/pengupop.SlackBuild
@@ -27,12 +27,10 @@ VERSION=${VERSION:-2.2.5}
BUILD=${BUILD:-1}
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
diff --git a/games/qjoypad/qjoypad.SlackBuild b/games/qjoypad/qjoypad.SlackBuild
index 9bb0bc2711..dc367edae8 100644
--- a/games/qjoypad/qjoypad.SlackBuild
+++ b/games/qjoypad/qjoypad.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-4.1.0}
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
diff --git a/games/rejoystick/rejoystick.SlackBuild b/games/rejoystick/rejoystick.SlackBuild
index 841813cda5..5aae60fbf7 100644
--- a/games/rejoystick/rejoystick.SlackBuild
+++ b/games/rejoystick/rejoystick.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-0.8.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
diff --git a/games/residualvm/residualvm.SlackBuild b/games/residualvm/residualvm.SlackBuild
index bbfe6b85a3..4d2e31555c 100644
--- a/games/residualvm/residualvm.SlackBuild
+++ b/games/residualvm/residualvm.SlackBuild
@@ -27,12 +27,10 @@ VERSION=${VERSION:-0.1.1}
BUILD=${BUILD:-1}
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
@@ -56,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/scid/scid.SlackBuild b/games/scid/scid.SlackBuild
index ad8bbb2ac0..147f97a6a3 100644
--- a/games/scid/scid.SlackBuild
+++ b/games/scid/scid.SlackBuild
@@ -58,7 +58,7 @@ sed -i -e "s/tclsh8.5;/tclsh;/" configure
SHAREDIR="/usr/share/scid" \
OPTIMIZE="$SLKCFLAGS -fno-rtti -fno-exceptions"
-make all_scid
+make all_scid
make strip
make install_scid DESTDIR=$PKG
@@ -67,22 +67,22 @@ if [ -f $CWD/scidlet40k.zip ] ; then
mkdir -p $PKG/usr/share/scid/books
unzip $CWD/scidlet40k.zip -d $PKG/usr/share/scid/books
fi
-if [ -f $CWD/ratings_2008_4.zip ] ; then
+if [ -f $CWD/ratings_2008_4.zip ] ; then
mkdir -p $PKG/usr/share/scid/data
unzip $CWD/ratings_2008_4.zip -d $PKG/usr/share/scid/data
fi
-if [ -f $CWD/photos2007.zip ] ; then
+if [ -f $CWD/photos2007.zip ] ; then
mkdir -p $PKG/usr/share/scid/photos
unzip $CWD/photos2007.zip -d $PKG/usr/share/scid/photos
fi
-# Fix some permissions
+# Fix some permissions
find $PKG/usr/share/scid -type d -exec chmod 0755 {} \;
find $PKG/usr/share/scid -type f -exec chmod 0644 {} \;
# We're going to diverge from upstream a bit in location but not functionality
# This will require users to be in the 'games' group for write permissions
-mkdir -p $PKG/var/games/scid
+mkdir -p $PKG/var/games/scid
mv $PKG/usr/share/scid/{bases,books} $PKG/var/games/scid
chown -R root:games $PKG/var/games/scid
find $PKG/var/games/scid -type d -exec chmod 2775 {} \;
@@ -103,7 +103,7 @@ cd $PKG/usr/man/man1
sed "s%@VERSION@%$VERSION%g" $CWD/scid.1 | gzip -9c > scid.1.gz
for i in \
sc_remote scmerge pgnscid sc_spell spliteco sc_eco sc_tree scidpgn pgnfix \
- tkscid sc_epgn sc_addmove tcscid sc_import scidlet scidt ;
+ tkscid sc_epgn sc_addmove tcscid sc_import scidlet scidt ;
do ln -s scid.1.gz $i.1.gz
done
cd -
diff --git a/games/scribble/scribble.SlackBuild b/games/scribble/scribble.SlackBuild
index 725baa36a2..df0d1db140 100644
--- a/games/scribble/scribble.SlackBuild
+++ b/games/scribble/scribble.SlackBuild
@@ -16,7 +16,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-set -e # Exit on most errors
+set -e
rm -rf $TMP/$PRGNAM $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/smc_music/smc_music.SlackBuild b/games/smc_music/smc_music.SlackBuild
index 987ca1c5bf..e5692e7bf6 100644
--- a/games/smc_music/smc_music.SlackBuild
+++ b/games/smc_music/smc_music.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for
+# Slackware build script for
# smc_music (Secret Maryo Chronicles Music Pack)
# Written by Phillip Warner <pc_warner@yahoo.com>
diff --git a/games/smokinguns/smokinguns.SlackBuild b/games/smokinguns/smokinguns.SlackBuild
index 9c4fd7920a..b6875c4d0a 100644
--- a/games/smokinguns/smokinguns.SlackBuild
+++ b/games/smokinguns/smokinguns.SlackBuild
@@ -36,7 +36,7 @@ OUTPUT=${OUTPUT:-/tmp}
# No flags/configure needed as it is just a binary repackaging.
-set -e # Exit on most errors.
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG/opt/$PRGNAM $OUTPUT
diff --git a/games/snes9x/snes9x.SlackBuild b/games/snes9x/snes9x.SlackBuild
index 46db75460e..26e88a5cd1 100644
--- a/games/snes9x/snes9x.SlackBuild
+++ b/games/snes9x/snes9x.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-1.53}
BUILD=${BUILD:-1}
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
diff --git a/games/spring/spring.SlackBuild b/games/spring/spring.SlackBuild
index cfae353279..f651e1fb16 100644
--- a/games/spring/spring.SlackBuild
+++ b/games/spring/spring.SlackBuild
@@ -21,7 +21,7 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
+#
# Script modified by Juan Pablo Cordova E. (jpcordovae@gmail.com)
#
#
diff --git a/games/supertux/supertux.SlackBuild b/games/supertux/supertux.SlackBuild
index 9cc59dd13e..1996b1c2aa 100644
--- a/games/supertux/supertux.SlackBuild
+++ b/games/supertux/supertux.SlackBuild
@@ -27,12 +27,10 @@ VERSION=0.1.3
BUILD=${BUILD:-1}
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
@@ -54,7 +52,7 @@ fi
set -e
-rm -rf $PKG
+rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
diff --git a/games/supertux2/supertux2.SlackBuild b/games/supertux2/supertux2.SlackBuild
index d02c12473c..0efbbabc21 100644
--- a/games/supertux2/supertux2.SlackBuild
+++ b/games/supertux2/supertux2.SlackBuild
@@ -22,10 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=supertux2
+PRGNAM=supertux2
VERSION=${VERSION:-0.3.3}
BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
SRCNAM=supertux
@@ -38,9 +38,9 @@ if [ -z "$ARCH" ]; then
fi
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -73,7 +73,7 @@ find . \
patch -p1 < $CWD/remove-curl-types_h-usage.patch
patch -p1 < $CWD/supertux2-0.3.3-gcc46.patch
-patch -p1 < $CWD/supertux2-0.3.3-squirrel-gcc47.patch
+patch -p1 < $CWD/supertux2-0.3.3-squirrel-gcc47.patch
mkdir -p build
cd build
@@ -85,7 +85,7 @@ cd build
-DINSTALL_SUBDIR_SHARE=share/games/$PRGNAM \
-DINSTALL_SUBDIR_DOC=doc/$PRGNAM-$VERSION \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make
make install DESTDIR=$PKG
cd ..
diff --git a/games/tintin/tintin.SlackBuild b/games/tintin/tintin.SlackBuild
index 1b41c46138..66b9c396ac 100644
--- a/games/tintin/tintin.SlackBuild
+++ b/games/tintin/tintin.SlackBuild
@@ -1,9 +1,9 @@
#!/bin/sh
# Slackware build script for tintin++
-PRGNAM=tintin
-VERSION=${VERSION:-2.00.9}
+PRGNAM=tintin
+VERSION=${VERSION:-2.00.9}
BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
+TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
diff --git a/games/tmw/tmw.SlackBuild b/games/tmw/tmw.SlackBuild
index 7f53378a65..0fd49accc3 100644
--- a/games/tmw/tmw.SlackBuild
+++ b/games/tmw/tmw.SlackBuild
@@ -27,12 +27,10 @@ VERSION=0.0.29.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
diff --git a/games/tong/tong.SlackBuild b/games/tong/tong.SlackBuild
index bda5b7e6e8..5ff079094d 100644
--- a/games/tong/tong.SlackBuild
+++ b/games/tong/tong.SlackBuild
@@ -30,12 +30,10 @@ VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild
index 4dfee298a7..106d68071b 100644
--- a/games/trackballs/trackballs.SlackBuild
+++ b/games/trackballs/trackballs.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-1.1.4}
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
diff --git a/games/tt/tt.SlackBuild b/games/tt/tt.SlackBuild
index 3776024ece..2f1ea1f168 100644
--- a/games/tt/tt.SlackBuild
+++ b/games/tt/tt.SlackBuild
@@ -55,7 +55,7 @@ fi
DOCS="Attrib Meista NEWS Notes Porting README Testimonial Score"
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/tuxnes/tuxnes.SlackBuild b/games/tuxnes/tuxnes.SlackBuild
index 3f866ab77f..2c619f426c 100644
--- a/games/tuxnes/tuxnes.SlackBuild
+++ b/games/tuxnes/tuxnes.SlackBuild
@@ -9,12 +9,10 @@ VERSION=0.75
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
diff --git a/games/ufoai/ufoai.SlackBuild b/games/ufoai/ufoai.SlackBuild
index 901b5abacb..a016882032 100644
--- a/games/ufoai/ufoai.SlackBuild
+++ b/games/ufoai/ufoai.SlackBuild
@@ -86,7 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-ufo \
--enable-ufoded \
--enable-ufoslicer \
- $radiant
+ $radiant
make
make lang
@@ -104,7 +104,7 @@ if [ "$radiant" = "--enable-uforadiant" ]; then
BINARIES="radiant/uforadiant"
fi
-# ...then the binaries
+# ...then the binaries
BINARIES="$BINARIES ufo ufoded ufo2map ufomodel memory ufoslicer"
install -m 0755 $BINARIES $PKG/usr/bin/
diff --git a/games/vectoroids/vectoroids.SlackBuild b/games/vectoroids/vectoroids.SlackBuild
index 527b62f619..2d778a2661 100644
--- a/games/vectoroids/vectoroids.SlackBuild
+++ b/games/vectoroids/vectoroids.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-1.1.0}
BUILD=${BUILD:-1}
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
diff --git a/games/worldofgoo/worldofgoo.SlackBuild b/games/worldofgoo/worldofgoo.SlackBuild
index 7a816b6e10..1ab49cb481 100644
--- a/games/worldofgoo/worldofgoo.SlackBuild
+++ b/games/worldofgoo/worldofgoo.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for World of Goo (demo).
-
+
# Copyright 2009 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# All rights reserved.
#
@@ -28,12 +28,10 @@ VERSION=${VERSION:-1.41}
BUILD=${BUILD:-1}
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
diff --git a/games/worldofpadman/worldofpadman.SlackBuild b/games/worldofpadman/worldofpadman.SlackBuild
index bc83268441..e310ee5d00 100644
--- a/games/worldofpadman/worldofpadman.SlackBuild
+++ b/games/worldofpadman/worldofpadman.SlackBuild
@@ -44,7 +44,7 @@ OUTPUT=${OUTPUT:-/tmp}
# No flags/configure needed as it is just a binary repackaging.
-set -e # Exit on most errors.
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/xcowsay/xcowsay.SlackBuild b/games/xcowsay/xcowsay.SlackBuild
index e33a596582..2ce7d0bf51 100644
--- a/games/xcowsay/xcowsay.SlackBuild
+++ b/games/xcowsay/xcowsay.SlackBuild
@@ -11,12 +11,10 @@ VERSION=${VERSION:-1.3}
BUILD=${BUILD:-1}
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
diff --git a/games/xskat/xskat.SlackBuild b/games/xskat/xskat.SlackBuild
index 732b446be7..ece00b59f0 100644
--- a/games/xskat/xskat.SlackBuild
+++ b/games/xskat/xskat.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xskat
-# Written by Jan Herrygers - janherrygers at dommel dot be
+# Written by Jan Herrygers - janherrygers at dommel dot be
# Slackbuild for xskat version 4.0 21/08/2008
# Copyright 2008 Jan Herrygers
@@ -57,7 +57,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/z26/z26.SlackBuild b/games/z26/z26.SlackBuild
index 81c6746ed9..e45e5197b9 100644
--- a/games/z26/z26.SlackBuild
+++ b/games/z26/z26.SlackBuild
@@ -20,12 +20,10 @@ TAG=${TAG:-_SBo}
SNAPVER=${SNAPVER:-${PRGNAM}_snapshot-20040523}
TARBALL=${TARBALL:-${PRGNAM}v213.tar.gz}
-# 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
diff --git a/games/zsnes/zsnes.SlackBuild b/games/zsnes/zsnes.SlackBuild
index 089a46a2d7..9a2a1a2925 100644
--- a/games/zsnes/zsnes.SlackBuild
+++ b/games/zsnes/zsnes.SlackBuild
@@ -30,12 +30,10 @@ TAG=${TAG:-_SBo}
ZSNESSRC="$(echo $VERSION | tr -d .)src"
ZSNESDIR="_$(echo $VERSION | tr . _)"
-# 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