summaryrefslogtreecommitdiff
path: root/audio/caps/caps.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-02-13 22:54:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-14 01:33:16 +0700
commit41fad29d93c59bed36654660b46de4c1b739e4d2 (patch)
treed14402aaa9ebf7de41f2dcc16b63cecc97193edf /audio/caps/caps.SlackBuild
parentefd6b0ec5b2c8ece43517903cb2fc37f06c97114 (diff)
downloadslackbuilds-41fad29d93c59bed36654660b46de4c1b739e4d2.tar.gz
audio/caps: Updated for version 0.9.20.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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/*
)