aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-05-20 20:53:14 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:34:16 +0700
commit934b96cdccc099e36605009abbfcfd5dcab9a926 (patch)
tree797de89a1a8201b567f15b7dfbec62725aa8686b /audio
parente28787e9e05fc37a6b194ebf62ad5bc647190596 (diff)
audio/cmus: Updated for version 2.5.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/cmus/README6
-rw-r--r--audio/cmus/cmus.SlackBuild7
-rw-r--r--audio/cmus/cmus.info6
3 files changed, 10 insertions, 9 deletions
diff --git a/audio/cmus/README b/audio/cmus/README
index ffbc71503b798..6604588dec004 100644
--- a/audio/cmus/README
+++ b/audio/cmus/README
@@ -4,7 +4,7 @@ cmus is a small and fast text mode music player
for Linux and many other UNIX like operating systems.
Optional dependencies (autodetected) are ffmpeg, libmpcdec,
-faad2, libcue, libmp4v2 and pulseaudio.
+faad2, libcue, libmp4v2, opusfile and pulseaudio.
-It can be built also over roar-audio and opus-file (but ATM
-these aren't available at SlackBuilds.org).
+It can be built also over roar-audio (but ATM this isn't
+available at SlackBuilds.org).
diff --git a/audio/cmus/cmus.SlackBuild b/audio/cmus/cmus.SlackBuild
index d6a26442bd8b9..f542207a5460a 100644
--- a/audio/cmus/cmus.SlackBuild
+++ b/audio/cmus/cmus.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for cmus
# Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
+# Copyright 2013-2014, Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -22,7 +23,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cmus
-VERSION=${VERSION:-20131125_a854f85}
+VERSION=${VERSION:-2.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/v$VERSION.tar.?z* || tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -87,7 +88,7 @@ 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.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/examples/*
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/cmus/cmus.info b/audio/cmus/cmus.info
index ac7af26e5d66e..997df8631a6f6 100644
--- a/audio/cmus/cmus.info
+++ b/audio/cmus/cmus.info
@@ -1,8 +1,8 @@
PRGNAM="cmus"
-VERSION="20131125_a854f85"
+VERSION="2.5.1"
HOMEPAGE="http://cmus.sourceforge.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/cmus-20131125_a854f85.tar.xz"
-MD5SUM="a197c1775238c322ab13245e03bc670a"
+DOWNLOAD="https://github.com/cmus/cmus/archive/v2.5.1.tar.gz"
+MD5SUM="56d80d6f556c385135f64ee55ec4f862"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""