summaryrefslogtreecommitdiff
path: root/games/supertux2/supertux2.SlackBuild
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/supertux2/supertux2.SlackBuild
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/supertux2/supertux2.SlackBuild')
-rw-r--r--games/supertux2/supertux2.SlackBuild12
1 files changed, 6 insertions, 6 deletions
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 ..