summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-04-07 13:02:51 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:45:07 +0700
commit809b8ed73556c5eea4e4b7438c9622a9669cdcec (patch)
treef3fc19ac1d3ec5ce0844b4eb8b40d942be56ccf7 /games
parentdbb27373fabfc49a7647f0b495167af9f857d972 (diff)
downloadslackbuilds-809b8ed73556c5eea4e4b7438c9622a9669cdcec.tar.gz
slackbuilds-809b8ed73556c5eea4e4b7438c9622a9669cdcec.tar.xz
games/adl: Fix doc permissions.
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
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"