games/clonekeen: Remove template comment.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-10-04 22:17:07 -04:00 committed by Willy Sudiarto Raharjo
parent b0f3781da2
commit d21c5ec172
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 5 additions and 11 deletions

View File

@ -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

View File

@ -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 \