summaryrefslogtreecommitdiffstats
path: root/audio/carla/carla.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/carla/carla.SlackBuild')
-rw-r--r--audio/carla/carla.SlackBuild24
1 files changed, 13 insertions, 11 deletions
diff --git a/audio/carla/carla.SlackBuild b/audio/carla/carla.SlackBuild
index a732a965bd..06bd034a54 100644
--- a/audio/carla/carla.SlackBuild
+++ b/audio/carla/carla.SlackBuild
@@ -1,13 +1,17 @@
#!/bin/bash
# Slackware build script for <carla>
#
-# Michales (clavisound) Michaloudes korgie@gmail.com <2018-2021>
+# 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.4.1}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-2.5.2}
+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