summaryrefslogtreecommitdiff
path: root/audio/samplv1/samplv1.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/samplv1/samplv1.SlackBuild')
-rw-r--r--audio/samplv1/samplv1.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/audio/samplv1/samplv1.SlackBuild b/audio/samplv1/samplv1.SlackBuild
index b2de57720e..9037be6d45 100644
--- a/audio/samplv1/samplv1.SlackBuild
+++ b/audio/samplv1/samplv1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20181216 bkw: update for 0.9.4, which now requires qt5 :(
# 20180615 bkw: update for 0.9.2
# 20180702 bkw: update for 0.9.1, install French man page correctly.
# 20180615 bkw: update for 0.9.0
@@ -15,7 +16,7 @@
# 20170614 bkw: update for 0.8.2, drop qt5 dep, build with qt4
PRGNAM=samplv1
-VERSION=${VERSION:-0.9.2}
+VERSION=${VERSION:-0.9.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,11 +56,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 640 -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 {} \+
LDFLAGS="-Wl,-s" \
CFLAGS="$SLKCFLAGS" \
@@ -71,7 +69,6 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --enable-qt4 \
--build=$ARCH-slackware-linux
make