diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
commit | 687c78d5604ce299d5164ffd69de88f2dd10fefc (patch) | |
tree | 2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /games | |
parent | 610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff) |
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games')
80 files changed, 94 insertions, 187 deletions
diff --git a/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild b/games/Chatbot-Eliza/Chatbot-Eliza.SlackBuild index 256f1533e078e..76b596c2c3fcc 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 677d438b30d68..d65d1f8eb9b60 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 f4f2667300b36..66bd820b88db6 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 df7c95693c6e5..5d28618c15040 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 fd9e86c26f614..89bd840a68cbd 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 56a2cbb0680e9..d15ad3212f9ae 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 6d4c39efb9611..c0264c4a10e2f 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 1773ae74f2f0b..9b6fccfe7ff3a 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 009392234ddb2..76d60e2189ff7 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 f6d875d27b6e0..d6c89aa78f7be 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 6b85070325839..aeb2d15c27f64 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 8e9d3ea797000..f2341e4562377 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 c85cef6f8760b..feb6a36dfd8e8 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 266770b91a238..0c2700f0e52d0 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 c04f8d4b5fa52..309378f851703 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 fc69ab256e5b9..27557bce63ca2 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 d2dfcd3306ea0..4b08e5894932a 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 4e311773705ca..e5fa29c1b14bd 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 04097d36ba51f..747585dddea61 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 3ffeed440b59b..03c46e1e7474d 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 469eac580588a..d1f80cf8b7f12 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 e9d376e0cec06..f6d3bb86fce9b 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 d064a24c04b30..f1d02218ef09c 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 d9774ece8ae7c..fb7e86dc9b0a6 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 0849ffccf8e7b..32f52f0c8836c 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 5e5f02cd144da..840e996474c34 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 79e60c14e4264..c97d65057e4cb 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 0a1f01bae125a..5e2608417318a 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 64720bf2c5c9d..13722f8e8113a 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 8d9f948dff9ab..372579e517881 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 1f4e8b810f7c6..9986873f91b4b 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 133ac74ff39ea..499c436c0ecd0 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 bab8f8dadea8f..3363c45661c99 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 141352c521374..05d7e1cf3f4c6 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 2309e6b945755..73820644a0217 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 b0c69256da1e7..5e278ff56cb1c 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 3e0af446a39fc..c465370f48eb9 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 50c279cd4235b..d06934c89fc5a 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 e42b3e4984ee1..0abd371f2b896 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 cb249b1fd3df8..1c543d91d7657 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 b385c15d0a21e..71a6ce6418a47 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 67176221e9fe0..8d14459dd02b1 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 db2c322f451f4..2832a5aeba8f2 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 e3c6d49a04c74..905b29d13c783 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 fba802c42d3d6..8615d3a03dfa7 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 059ff1c57b5ad..6bd59b857e685 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 ac0a05381d1ca..2a6b621c32460 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 9a188e8ed42f4..e7b81471014d3 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 7e8f4814e2699..28b12f1478703 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 e0ee9bae72034..487945ef7e35c 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 ac82ea607c992..a2b5bc64a19b6 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 8452700450df9..2aa2e4393d64f 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 f07b991c32148..43c407d0e3043 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 9dc01f917c5b7..5c4c8e466daa8 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 e5905efcb9e73..60c7ac0713601 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 9bb0bc271196c..dc367edae85d1 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 841813cda533e..5aae60fbf7b92 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 bbfe6b85a3ee8..4d2e31555c69e 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 ad8bbb2ac03ec..147f97a6a3e62 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 725baa36a2442..df0d1db1408cb 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 987ca1c5bf917..e5692e7bf6cf6 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 9c4fd7920abd7..b6875c4d0ab2f 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 46db75460e456..26e88a5cd1d70 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 cfae353279f8e..f651e1fb165ab 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 9cc59dd13e08c..1996b1c2aa298 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 d02c12473c569..0efbbabc21e62 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 1b41c46138fba..66b9c396ac7ce 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 7f53378a65956..0fd49accc333a 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 bda5b7e6e8f78..5ff079094d9ac 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 4dfee298a7167..106d68071bdbc 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 3776024ece175..2f1ea1f168808 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 3f866ab77f122..2c619f426cab2 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 901b5abacb6ca..a016882032244 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 527b62f619a80..2d778a2661684 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 7a816b6e1084c..1ab49cb481875 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 bc8326844182c..e310ee5d007a5 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 e33a59658277e..2ce7d0bf51fb2 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 732b446be7260..ece00b59f0c21 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 81c6746ed9d2d..e45e5197b90b2 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 089a46a2d7a12..9a2a1a2925a32 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 |