diff options
Diffstat (limited to 'audio/ncmpcpp/ncmpcpp.SlackBuild')
-rw-r--r-- | audio/ncmpcpp/ncmpcpp.SlackBuild | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild index 88a3b48cb0e16..cb3569eca4fcd 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 |