summaryrefslogtreecommitdiff
path: root/audio/mpd/mpd.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-12-03 21:46:44 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-12-06 00:00:09 -0600
commit4fe0f8b9af30934806aecf4330b49f6a173c139b (patch)
tree1af84698b1b5d0e0aa0085b72a931e42cd0dc8ed /audio/mpd/mpd.SlackBuild
parent4c9211bee78b9a25df0688e08593afd495f829a7 (diff)
downloadslackbuilds-4fe0f8b9af30934806aecf4330b49f6a173c139b.tar.gz
audio/mpd: Updated for version 0.18.5.
Fixes building over ffmpeg (thanks to mancha) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/mpd/mpd.SlackBuild')
-rw-r--r--audio/mpd/mpd.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/mpd/mpd.SlackBuild b/audio/mpd/mpd.SlackBuild
index 3fb2dbf9f9..491dd22a49 100644
--- a/audio/mpd/mpd.SlackBuild
+++ b/audio/mpd/mpd.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mpd
-VERSION=0.17.1
+VERSION=${VERSION:-0.18.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,12 +60,12 @@ 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 . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;