summaryrefslogtreecommitdiff
path: root/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-04-09 19:32:28 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:24 +0700
commit343fee2f5327aa2d2ad54c5eb5246cd8d59415ef (patch)
tree12ebf78e439272381dcaaf382da8d75408eabba9 /audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild
parentc04e3c876de4a4267ced60509410224cfb7d1e73 (diff)
downloadslackbuilds-343fee2f5327aa2d2ad54c5eb5246cd8d59415ef.tar.gz
audio/fluidsynth-dssi: Updated for version 1.0.0+20190112_c9b4107.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild')
-rw-r--r--audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild b/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild
index e21673dc6d..d5bf6b716f 100644
--- a/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild
+++ b/audio/fluidsynth-dssi/fluidsynth-dssi.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=fluidsynth-dssi
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.0.0+20190112_c9b4107}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,14 +44,13 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.[gx]z
cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+
+[ -e configure ] || sh autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -68,9 +67,7 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING ChangeLog README TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install