summaryrefslogtreecommitdiff
path: root/games/stella/stella.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-04 14:08:45 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:55 +0700
commitd9debbc4bccd1e13b8ef9d41e1e60939cab413fc (patch)
treebd43d9d1023b7adcb83276a0d4aea5c485281bcb /games/stella/stella.SlackBuild
parent94a28a2301bba856923f2b51b95e6674eb65261a (diff)
downloadslackbuilds-d9debbc4bccd1e13b8ef9d41e1e60939cab413fc.tar.gz
games/stella: Updated for version 4.7.2.
Diffstat (limited to 'games/stella/stella.SlackBuild')
-rw-r--r--games/stella/stella.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild
index d687a95312..3660deaef2 100644
--- a/games/stella/stella.SlackBuild
+++ b/games/stella/stella.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for stella
-# Written by Luis Henrique <lmello.009@gmail.com>
+# Originally written by Luis Henrique.
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -24,14 +24,16 @@
# 20150509 bkw: update for 4.6.1
+# 20160804 bkw: update for 4.7.2
+
PRGNAM=stella
-VERSION=${VERSION:-4.6.1}
+VERSION=${VERSION:-4.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -62,7 +64,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-src.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -89,8 +91,8 @@ ln -s \
$PKG/usr/share/pixmaps/$PRGNAM.png
# Man page written for this build.
-# Upstream will be shipping a man page starting with 4.7, so I can
-# soon quit including one here.
+# Upstream said he'd be shipping a man page starting with 4.7, so I could
+# quit including one here, but so far it hasn't happened...
mkdir -p $PKG/usr/man/man6
gzip -9c < $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz