summaryrefslogtreecommitdiff
path: root/games/larn
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-05-05 15:31:41 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-14 19:27:47 +0700
commit777a8c1a5d26399b891beb6ea330e4786c541e84 (patch)
tree62851cd58047c50332628a726cc12554c166ebdd /games/larn
parent53e8c52f284ee46df76055849824edfde6b97a99 (diff)
downloadslackbuilds-777a8c1a5d26399b891beb6ea330e4786c541e84.tar.gz
games/larn: Fix doc permissions.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/larn')
-rw-r--r--games/larn/larn.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/larn/larn.SlackBuild b/games/larn/larn.SlackBuild
index b247db9dda..722dc3a9f5 100644
--- a/games/larn/larn.SlackBuild
+++ b/games/larn/larn.SlackBuild
@@ -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