graphics/OpenCASCADE: Fix perms for files in DOCS dir.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Spencer 2023-04-28 17:56:50 +01:00 committed by Willy Sudiarto Raharjo
parent 7f479b91f4
commit f3c5c52d81
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 8 additions and 1 deletions

View File

@ -24,11 +24,15 @@
#
# Maintained by David Spencer <baildon.research@googlemail.com>
# NOTE sbopkglint finds 3 non-execuatble bash scripts in /usr/bin
# but I can't tell if they are needed there or not, so leaving them for now
# - Dave W.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenCASCADE
VERSION=${VERSION:-7.7.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -125,6 +129,9 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# fix perms in docs dir
chmod -c 0644 $PKG/usr/doc/$PRGNAM-$VERSION/*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc