aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-04 03:40:18 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:30 +0700
commitc9b3a454ce69afe2359a97772eadcd9a947e4591 (patch)
tree466169bf19119a89fe6a97001065a7bda62ad4b6 /games
parent28e52a2358debaef9ab4633a5605660e47c1e7e3 (diff)
games/adl: Remove template comment.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/adl/adl.SlackBuild10
-rw-r--r--games/adl/adl.info4
2 files changed, 4 insertions, 10 deletions
diff --git a/games/adl/adl.SlackBuild b/games/adl/adl.SlackBuild
index 312742677710..72f54fe701f3 100644
--- a/games/adl/adl.SlackBuild
+++ b/games/adl/adl.SlackBuild
@@ -42,9 +42,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
@@ -80,11 +77,8 @@ YEAR=93
tar xvf $CWD/$PRGNAM.tar.Z
cd $PRGNAM
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 {} \+
# Patch does this:
# - fix various compile errors (mostly relating to lack of ANSI prototypes).
diff --git a/games/adl/adl.info b/games/adl/adl.info
index 24b6d03ac2b2..5ddcb5f2cca8 100644
--- a/games/adl/adl.info
+++ b/games/adl/adl.info
@@ -1,7 +1,7 @@
PRGNAM="adl"
VERSION="20110628"
HOMEPAGE="http://adl.sourceforge.net/"
-DOWNLOAD="http://www.ifarchive.org/if-archive/programming/adl/adl.tar.Z \
+DOWNLOAD="https://www.ifarchive.org/if-archive/programming/adl/adl.tar.Z \
https://sourceforge.net/projects/adl/files/adl/adl%20binary%201.0/adl_linux32_1_0.tar.gz \
https://slackware.uk/~urchlay/src/adl-20110628.tar.gz \
https://slackware.uk/~urchlay/src/adl03-samples.tar.gz"
@@ -9,7 +9,7 @@ MD5SUM="b01115cc2625441caf818e60527b4095 \
c487cd233972bd5de694d303806ac653 \
57b75b90bd09a5051270732a61c6e288 \
6edfe44f23a99078ca797c75273fbb0e"
-DOWNLOAD_x86_64="http://www.ifarchive.org/if-archive/programming/adl/adl.tar.Z \
+DOWNLOAD_x86_64="https://www.ifarchive.org/if-archive/programming/adl/adl.tar.Z \
https://slackware.uk/~urchlay/src/adl_linux64_1_0.tar.gz \
https://slackware.uk/~urchlay/src/adl-20110628.tar.gz \
https://slackware.uk/~urchlay/src/adl03-samples.tar.gz"