From b3bc184d3c775d1d7a3384e7aef04794c9163cd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Camilo=20Nore=C3=B1a?= Date: Wed, 12 May 2010 20:37:22 -0500 Subject: audio/ncmpcpp: Updated for version 0.5.3. --- audio/ncmpcpp/ncmpcpp.SlackBuild | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'audio/ncmpcpp/ncmpcpp.SlackBuild') 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 -- cgit v1.2.3