diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-16 04:03:29 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 10:52:27 +0700 |
commit | 9345b5372ca10ef97d41a864159c58580411f9b6 (patch) | |
tree | f80811a34add3624ec2764c935ce8644b37392d3 /audio/carla/carla.SlackBuild | |
parent | d96577501168f326e0c78c47a20bb40ee16c0376 (diff) |
audio/carla: Updated for version 2.1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/carla/carla.SlackBuild')
-rw-r--r-- | audio/carla/carla.SlackBuild | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/audio/carla/carla.SlackBuild b/audio/carla/carla.SlackBuild index b0a71bb52449..331247c784ea 100644 --- a/audio/carla/carla.SlackBuild +++ b/audio/carla/carla.SlackBuild @@ -4,13 +4,11 @@ # Michales (clavisound) Michaloudes korgie@gmail.com <2018> PRGNAM=carla -VERSION=${VERSION:-2.0beta6} +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=Carla -SRCVER=1.9.8 -TARVER=2.0-beta6-src if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -44,15 +42,14 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$SRCVER -tar xvf $CWD/${SRCNAM}_${TARVER}.tar.gz -cd $SRCNAM-$SRCVER +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# upstream ships archive with broken symlinks, remove +find -L . -type l -exec rm -f {} \+ +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ sed -i -e /CARLA_LIBDIR/s/\"lib\"/\"lib$LIBDIRSUFFIX\"/ data/carla-single |