summaryrefslogtreecommitdiffstats
path: root/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
diff options
context:
space:
mode:
author David Spencer <baildon.research@googlemail.com>2023-04-28 17:56:50 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 18:11:45 +0700
commitf3c5c52d816cb466bf79838971d7be9ac26fcff3 (patch)
tree5cf3305cc30ff02e63da5b828435889780acd257 /graphics/OpenCASCADE/OpenCASCADE.SlackBuild
parent7f479b91f40f37f5b322c6a8fbc21252092b18a6 (diff)
downloadslackbuilds-f3c5c52d816cb466bf79838971d7be9ac26fcff3.tar.gz
slackbuilds-f3c5c52d816cb466bf79838971d7be9ac26fcff3.tar.xz
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>
Diffstat (limited to 'graphics/OpenCASCADE/OpenCASCADE.SlackBuild')
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
index 9be1dd9335..a5270d7a9b 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
+++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
@@ -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