games/larn: 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:
B. Watson 2022-05-05 15:31:41 -04:00 committed by Willy Sudiarto Raharjo
parent 53e8c52f28
commit 777a8c1a5d
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -22,6 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220505 bkw: Modified by SlackBuilds.org, BUILD=2:
# - fix permissions (no executable .txt files in the doc dir, please).
# 20220220 bkw: Modified by SlackBuilds.org:
# - fix build on 15.0.
# - actually use SLKCFLAGS.
@ -33,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=larn
VERSION=${VERSION:-14.1.5}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -98,7 +101,9 @@ ln -s ../share/games/larn/larn.sh larn
cd $TMP/RL_M-$VERSION
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md docs/manual.txt docs/LICENSE.txt docs/history.txt docs/changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION
install -m0644 \
README.md docs/manual.txt docs/LICENSE.txt docs/history.txt docs/changelog.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install