aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-04 22:04:40 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:33 +0700
commit516a10d95e283b5fc2ffd682dff1861737eba39d (patch)
tree7ad61ef3eae7e2212ac27f420bc5f3af480780f5
parent061fc0263e7fd7ef270b2cdfc625e68a0cab1edf (diff)
games/ceferino: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/ceferino/ceferino.SlackBuild12
-rw-r--r--games/ceferino/ceferino.info4
2 files changed, 5 insertions, 11 deletions
diff --git a/games/ceferino/ceferino.SlackBuild b/games/ceferino/ceferino.SlackBuild
index 9c1d0531b1263..f48388ebd05a5 100644
--- a/games/ceferino/ceferino.SlackBuild
+++ b/games/ceferino/ceferino.SlackBuild
@@ -24,9 +24,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
@@ -59,11 +56,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.gz
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 640 -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 array bounds fail in sound initialization
patch -p1 < $CWD/soundinitfix.diff
@@ -84,7 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
-# icon rendered from Debian's cefefino.svg
+# icon rendered from Debian's ceferino.svg
mkdir -p $PKG/usr/share/pixmaps
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
diff --git a/games/ceferino/ceferino.info b/games/ceferino/ceferino.info
index 8842451927642..3e14733065558 100644
--- a/games/ceferino/ceferino.info
+++ b/games/ceferino/ceferino.info
@@ -1,7 +1,7 @@
PRGNAM="ceferino"
VERSION="0.97.8+svn37"
-HOMEPAGE="http://web.archive.org/web/20160531044525/http://www.losersjuegos.com.ar/juegos/ceferino"
-DOWNLOAD="http://ftp.debian.org/debian/pool/main/c/ceferino/ceferino_0.97.8+svn37.orig.tar.gz"
+HOMEPAGE="https://web.archive.org/web/20160531044525/http://www.losersjuegos.com.ar/juegos/ceferino"
+DOWNLOAD="https://deb.debian.org/debian/pool/main/c/ceferino/ceferino_0.97.8+svn37.orig.tar.gz"
MD5SUM="6823fe46cadf7c759128c37073e85e2c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""