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.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild
index 990c9fc111..4c4f6cc0f8 100644
--- a/games/stella/stella.SlackBuild
+++ b/games/stella/stella.SlackBuild
@@ -8,6 +8,10 @@
# Now maintained by B. Watson <yalhcru@gmail.com>
+# 20191201 bkw:
+# - update for 6.0.2.
+# - replace my outdated man page with the up-to-date one from Debian.
+
# 20180611 bkw: update for 5.1.3, move binary to /usr/games
# 20180206 bkw: update for 5.1
# 20170821 bkw: update for 5.0.2
@@ -37,7 +41,7 @@
# - StartupNotify=false in .desktop
PRGNAM=stella
-VERSION=${VERSION:-5.1.3}
+VERSION=${VERSION:-6.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,16 +80,12 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.xz
cd $PRGNAM-$VERSION
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# 20170620 bkw: configure checks for gcc 4.7, 5.x, or 6.x. Fails on -current
# because we have 7.x.
-sed -i 's,\[5-6\],[5-9],g' configure
+#sed -i 's,\[5-6\],[5-9],g' configure
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -105,7 +105,7 @@ ln -s \
../icons/hicolor/128x128/apps/$PRGNAM.png \
$PKG/usr/share/pixmaps/$PRGNAM.png
-# Man page written for this build.
+# Man page borrowed from Debian.
# 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