summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2021-11-27 23:11:32 +0100
committer Willy Sudiarto Raharjo2021-12-04 04:09:04 +0100
commitf2a23d9a58797785a3a17c8c192c887e4997b16b (patch)
tree52d2ae63109cef2bc76c135070e77705fbac86c7
parente7ebfac2f3032a81c3c600d81d4db47458c0ccea (diff)
downloadslackbuilds-f2a23d9a58797785a3a17c8c192c887e4997b16b.tar.gz
audio/caps: Fix permission on shared lib.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/caps/caps.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/audio/caps/caps.SlackBuild b/audio/caps/caps.SlackBuild
index a46e6b242b..273ddf3663 100644
--- a/audio/caps/caps.SlackBuild
+++ b/audio/caps/caps.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211127 bkw: BUILD=2, set +x bit on caps.so
# 20181218 bkw:
# - update for v0.9.26.
# - expand UPGRADE.txt.
@@ -18,7 +19,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=caps
VERSION=${VERSION:-0.9.26}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -30,9 +31,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -85,7 +83,7 @@ LADSPALIB=$PKG/usr/lib$LIBDIRSUFFIX/ladspa
make install DEST=$LADSPALIB RDFDEST=$PKG/usr/share/ladspa/rdf
# LADSPA standard seems to be mode 0755
-chmod 0755 $LADSPALIB
+chmod 0755 $LADSPALIB/*.so
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES COPYING README $PKG/usr/doc/$PRGNAM-$VERSION