aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Camilo Noreña <jcnb81@gmail.com>2010-05-12 20:37:22 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:29 -0500
commitb3bc184d3c775d1d7a3384e7aef04794c9163cd1 (patch)
tree05e58389e82ffdeecebafd0c161ca93000b36ff8
parent74fc7939ce16933bbd6dd198a9270c70be786df8 (diff)
audio/ncmpcpp: Updated for version 0.5.3.
-rw-r--r--audio/ncmpcpp/README2
-rw-r--r--audio/ncmpcpp/ncmpcpp.SlackBuild22
-rw-r--r--audio/ncmpcpp/ncmpcpp.info8
3 files changed, 14 insertions, 18 deletions
diff --git a/audio/ncmpcpp/README b/audio/ncmpcpp/README
index 39a792bdaaa4..b4b2f0c79c87 100644
--- a/audio/ncmpcpp/README
+++ b/audio/ncmpcpp/README
@@ -3,4 +3,4 @@ but it contains some new features ncmpc doesn't have:
lyrics, tag editor, playlists editor, fetching artist's info from
last.fm, etc...
-This requires mpd.
+This requires libmpdclient.
diff --git a/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild
index 88a3b48cb0e1..cb3569eca4fc 100644
--- a/audio/ncmpcpp/ncmpcpp.SlackBuild
+++ b/audio/ncmpcpp/ncmpcpp.SlackBuild
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=ncmpcpp
-VERSION=0.4
+VERSION=0.5.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,12 +46,14 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -64,19 +66,13 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-unicode \
--with-curl \
--with-taglib \
- --build=$ARCH-slackware-linux \
- || exit 1
+ --build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make docdir=/usr/doc/$PRGNAM-$VERSION
+make docdir=/usr/doc/$PRGNAM-$VERSION install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog NEWS README doc/config \
- doc/keys $PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/audio/ncmpcpp/ncmpcpp.info b/audio/ncmpcpp/ncmpcpp.info
index f0124034f2d9..f18c3b2f66ae 100644
--- a/audio/ncmpcpp/ncmpcpp.info
+++ b/audio/ncmpcpp/ncmpcpp.info
@@ -1,10 +1,10 @@
PRGNAM="ncmpcpp"
-VERSION="0.4"
+VERSION="0.5.3"
HOMEPAGE="http://unkart.ovh.org/ncmpcpp/"
-DOWNLOAD="http://unkart.ovh.org/ncmpcpp/ncmpcpp-0.4.tar.bz2"
-MD5SUM="7c06f7591fd3785e4a61c40e0e8e440f"
+DOWNLOAD="http://unkart.ovh.org/ncmpcpp/ncmpcpp-0.5.3.tar.bz2"
+MD5SUM="50866f596d2d37a5d0f945347aa107af"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Juan Camilo Noreña"
EMAIL="jcnb81@gmail.com"
-APPROVED="Erik Hanson"
+APPROVED="rworkman"