mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
games/adl: Fix doc permissions.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
dbb27373fa
commit
809b8ed735
1 changed files with 4 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue