aboutsummaryrefslogtreecommitdiff
path: root/audio/cmus/cmus.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-27 09:01:11 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-28 00:13:12 -0600
commitc208cfd1469a906c97434320f98efa1701805bfb (patch)
treeb2fa013f2a9f8ba19eeea0fae09216251ece461e /audio/cmus/cmus.SlackBuild
parentbce367d60b7d2b66b871120f6d7f944193fe71e4 (diff)
audio/cmus: Updated for version 20131125_a854f85.
This fixes support for the newer ffmpeg. Added the optional dependencies pulseaudio and opus-file (thanks to Antonio Hernández Blas for the multiple heads-up) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/cmus/cmus.SlackBuild')
-rw-r--r--audio/cmus/cmus.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/cmus/cmus.SlackBuild b/audio/cmus/cmus.SlackBuild
index 16e865d44da43..d6a26442bd8b9 100644
--- a/audio/cmus/cmus.SlackBuild
+++ b/audio/cmus/cmus.SlackBuild
@@ -22,7 +22,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cmus
-VERSION=${VERSION:-v2.5.0}
+VERSION=${VERSION:-20131125_a854f85}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -80,14 +80,14 @@ CXXFLAGS="$SLKCFLAGS" \
make V=2
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/examples/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild