summaryrefslogtreecommitdiff
path: root/audio/ncmpcpp/ncmpcpp.SlackBuild
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 /audio/ncmpcpp/ncmpcpp.SlackBuild
parent74fc7939ce16933bbd6dd198a9270c70be786df8 (diff)
downloadslackbuilds-b3bc184d3c775d1d7a3384e7aef04794c9163cd1.tar.gz
audio/ncmpcpp: Updated for version 0.5.3.
Diffstat (limited to 'audio/ncmpcpp/ncmpcpp.SlackBuild')
-rw-r--r--audio/ncmpcpp/ncmpcpp.SlackBuild22
1 files changed, 9 insertions, 13 deletions
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