diff options
author | B. Watson <urchlay@slackware.uk> | 2023-07-01 16:05:54 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-08 16:42:04 +0700 |
commit | e68e52bbcc38ac17eb696cf0f979586f40581288 (patch) | |
tree | cf097f38ad17a5b9bf16b5cb71deeea2516be4f7 /audio/carla | |
parent | 6acb0d6e81c2f0c4ecbe80f5e4688ca1b24e20fa (diff) |
audio/carla: Fix shared lib permissions.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/carla')
-rw-r--r-- | audio/carla/carla.SlackBuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/audio/carla/carla.SlackBuild b/audio/carla/carla.SlackBuild index a76476840951..06bd034a548c 100644 --- a/audio/carla/carla.SlackBuild +++ b/audio/carla/carla.SlackBuild @@ -3,11 +3,15 @@ # # Michales (clavisound) Michaloudes korgie@gmail.com <2018-2022> +# 20230701 bkw: Modified by SlackBuilds.org, BUILD=2: +# - +x permissions for shared libs. +# - rm INSTALL.md (compile instructions) from doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=carla VERSION=${VERSION:-2.5.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -21,9 +25,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 @@ -69,11 +70,12 @@ make install PREFIX=/usr LIBDIR=/usr/lib$LIBDIRSUFFIX DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - INSTALL.md README.md doc/* \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +find $PKG -type f -a -name '*.so' -exec chmod 755 {} + + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC +cp -a README.md doc/* $PKGDOC +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |