summaryrefslogtreecommitdiffstats
path: root/audio/caps/caps.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/caps/caps.SlackBuild')
-rw-r--r--audio/caps/caps.SlackBuild17
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/caps/caps.SlackBuild b/audio/caps/caps.SlackBuild
index 5046500e7f..8ef18d0eaa 100644
--- a/audio/caps/caps.SlackBuild
+++ b/audio/caps/caps.SlackBuild
@@ -7,7 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=caps
-VERSION=${VERSION:-0.9.7}
+VERSION=${VERSION:-0.9.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,9 +40,6 @@ fi
FORCE_SLACK_CFLAGS=${FORCE_SLACK_CFLAGS:-no}
-# not sure whether the docs will always be up to date, so:
-DOCVER=${DOCVER:-$VERSION}
-
set -e
rm -rf $PKG
@@ -59,7 +56,7 @@ find -L . \
-exec chmod 644 {} \;
if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then
- make OPTS="$SLKCFLAGS"
+ make OPTS="$SLKCFLAGS" ARCH=""
else
./configure.py
make
@@ -67,7 +64,7 @@ fi
make install \
DEST=$PKG/usr/lib$LIBDIRSUFFIX/ladspa \
- RDFDEST=$PKG/usr/share/ladspa/rdf
+ RDFDEST=$PKG/usr/share/ladspa/rdf \
# LADSPA standard seems to be mode 0755
chmod 0755 $PKG/usr/lib$LIBDIRSUFFIX/ladspa/*.so
@@ -76,11 +73,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# docs are in a separate tarball now.
-if [ "$DOCS:-yes" != "yes" ]; then
+# docs are in a separate tarball now, just a wget -r of upstream's site
+if [ "${DOCS:-yes}" = "yes" ]; then
( cd $PKG/usr/doc/$PRGNAM-$VERSION
- tar xvf $CWD/$PRGNAM-doc_$DOCVER.tar.bz2
- mv $PRGNAM-doc-$DOCVER html
+ tar xvf $CWD/$PRGNAM-doc-unofficial_$VERSION.tar.bz2
+ mv $PRGNAM-doc-unofficial_$VERSION html
chown root.root html/*
chmod 644 html/*
)