summaryrefslogtreecommitdiff
path: root/audio/vocoder-ladspa/vocoder-ladspa.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/vocoder-ladspa/vocoder-ladspa.SlackBuild')
-rw-r--r--audio/vocoder-ladspa/vocoder-ladspa.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/audio/vocoder-ladspa/vocoder-ladspa.SlackBuild b/audio/vocoder-ladspa/vocoder-ladspa.SlackBuild
index c7519394e1..bba9b8b584 100644
--- a/audio/vocoder-ladspa/vocoder-ladspa.SlackBuild
+++ b/audio/vocoder-ladspa/vocoder-ladspa.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=vocoder-ladspa
-VERSION=${VERSION:-0.3}
+VERSION=${VERSION:-0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,10 +40,6 @@ fi
SRCDIR=${PRGNAM%-*}
-# Leave this undocumented. Anyone who cares about it, should be
-# reading SlackBuilds rather than just running them.
-FORCE_SLACK_CFLAGS=${FORCE_SLACK_CFLAGS:-no}
-
set -e
rm -rf $PKG
@@ -60,7 +56,10 @@ find -L . \
-exec chmod 644 {} \;
sed -i "s/-Werror//" Makefile
-if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then
+
+# Leave this undocumented. Anyone who cares about it, should be
+# reading SlackBuilds rather than just running them.
+if [ "${FORCE_SLACK_CFLAGS:-no}" = "yes" ]; then
sed -i "s/-O3/$SLKCFLAGS/" Makefile
fi
@@ -69,9 +68,7 @@ strip *.so
make install INSTALL_PLUGINS_DIR=$PKG/usr/lib$LIBDIRSUFFIX/ladspa
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README COPYRIGHT \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README COPYRIGHT $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install