audio/caps: Fix permission on shared lib.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-11-27 17:11:32 -05:00 committed by Willy Sudiarto Raharjo
parent e7ebfac2f3
commit f2a23d9a58
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 5 deletions

View File

@ -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