summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/adl/adl.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/adl/adl.SlackBuild b/games/adl/adl.SlackBuild
index 72f54fe701..4f5175127b 100644
--- a/games/adl/adl.SlackBuild
+++ b/games/adl/adl.SlackBuild
@@ -7,14 +7,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
-# 93 (1993) is the timestamp of the tarball. Most of the files
-# inside are stamped May 10 1991, and the copyright notice
-# says 1987.
-
# In case anyone's wondering: compiled ADL files are NOT architecture
# independent. 32-bit adlcomp produces files that won't run on a 64-bit
# adlrun, and vice versa.
+# 20220407 bkw: BUILD=2, fix permissions in doc dir.
+
# 20180122 bkw: It turns out that adl development continued up
# through 2011, with a Windows and Linux binary release in 2003.
# The ADL language and bytecode formats were changed for the 2003
@@ -30,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=adl
VERSION=${VERSION:-20110628}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -195,7 +193,7 @@ patch -p1 < $CWD/compilefixes$YEAR.diff
# Install the docs first, so we don't get the compiled samples/demos.
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM$YEAR
mkdir -p $DOCDIR
-chmod 644 doc/*.*
+find doc samples -type f -exec chmod 0644 {} \+
cp -a C* porting readme doc samples $DOCDIR
make -j1 all BIN=$PKG/usr/games OPTFLAGS="$SLKCFLAGS"