summaryrefslogtreecommitdiffstats
path: root/games/stella/stella.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/stella/stella.SlackBuild')
-rw-r--r--games/stella/stella.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild
index 601285b238..746c38af04 100644
--- a/games/stella/stella.SlackBuild
+++ b/games/stella/stella.SlackBuild
@@ -6,7 +6,11 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# Now maintained by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <urchlay@slackware.uk>
+
+# 20240213 bkw: update for v6.7.1.
+# 20230109 bkw: update for v6.7.
+# 20220610 bkw: update for v6.6, fix doc permissions.
# 20211026 bkw: we're on -current now, so:
# - update for 6.5.3.
@@ -56,7 +60,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=stella
-VERSION=${VERSION:-6.5.3}
+VERSION=${VERSION:-6.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,16 +84,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
set -e
@@ -100,6 +100,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.xz
cd $PRGNAM-$VERSION
+chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+