aboutsummaryrefslogtreecommitdiff
path: root/games/clonekeen
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-04 22:17:07 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:33 +0700
commitd21c5ec172ac6250da0eb39e38f6dbb21b2f7370 (patch)
treead22369086633f55195b8658353291b41d51a00a /games/clonekeen
parentb0f3781da2941022da3b83544ccc08b81a3eba85 (diff)
games/clonekeen: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/clonekeen')
-rw-r--r--games/clonekeen/clonekeen.SlackBuild12
-rw-r--r--games/clonekeen/clonekeen.info4
2 files changed, 5 insertions, 11 deletions
diff --git a/games/clonekeen/clonekeen.SlackBuild b/games/clonekeen/clonekeen.SlackBuild
index 0dac845a1e264..07cbd121c975f 100644
--- a/games/clonekeen/clonekeen.SlackBuild
+++ b/games/clonekeen/clonekeen.SlackBuild
@@ -22,9 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -55,17 +52,14 @@ rm -rf $SRCDIR
tar xvf $CWD/$PRGNAM-src-${VERSION/./}.tar.gz
cd $SRCDIR
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 {} \+
# Fix underlinking
sed -i "s|-lstdc++|-lstdc++ -lm|" src/Makefile
# Makefile doesn't use CFLAGS, ugh
-sed -i "/gcc/s/-O2/$SLKCFLAGS/" src/Makefile
+sed -i "/gcc/s/-O2/$SLKCFLAGS -fcommon/" src/Makefile
# Ugh. The src tarball ships with compiled .o files!
rm -f platform/*.o
diff --git a/games/clonekeen/clonekeen.info b/games/clonekeen/clonekeen.info
index 643d30f8240ce..3d9b8b4285361 100644
--- a/games/clonekeen/clonekeen.info
+++ b/games/clonekeen/clonekeen.info
@@ -1,8 +1,8 @@
PRGNAM="clonekeen"
VERSION="8.4"
HOMEPAGE="http://clonekeen.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/clonekeen/clonekeen-src-84.tar.gz \
- http://downloads.sourceforge.net/clonekeen/CKBeta83_Bin_W32.zip \
+DOWNLOAD="https://downloads.sourceforge.net/clonekeen/clonekeen-src-84.tar.gz \
+ https://downloads.sourceforge.net/clonekeen/CKBeta83_Bin_W32.zip \
ftp://ftp.3drealms.com/share/1keen.zip"
MD5SUM="0179c34727d044f07a1c00df340134bd \
a0dfcd00f3d039ef544f344b605f83bd \