summaryrefslogtreecommitdiff
path: root/audio/ncmpcpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ncmpcpp')
-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 39a792bdaa..b4b2f0c79c 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 88a3b48cb0..cb3569eca4 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 f0124034f2..f18c3b2f66 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"