From 777a8c1a5d26399b891beb6ea330e4786c541e84 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 5 May 2022 15:31:41 -0400 Subject: [PATCH] games/larn: Fix doc permissions. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/larn/larn.SlackBuild | 9 +++++++-- 1 file 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