diff options
author | Luka Novsak <lnovsak@gmail.com> | 2014-05-20 19:36:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-20 19:36:15 +0700 |
commit | fa30cf97ce124707ed2d6de96a9ff60908cbd7fd (patch) | |
tree | 378d8e6431dd0c41c9bf8a627fc491e14af03da9 /audio/ncmpc/ncmpc.SlackBuild | |
parent | 13a2c54d6da4730364df3ed97671825a774a6105 (diff) | |
download | slackbuilds-fa30cf97ce124707ed2d6de96a9ff60908cbd7fd.tar.gz |
audio/ncmpc: Updated for version 0.21 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ncmpc/ncmpc.SlackBuild')
-rw-r--r-- | audio/ncmpc/ncmpc.SlackBuild | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/audio/ncmpc/ncmpc.SlackBuild b/audio/ncmpc/ncmpc.SlackBuild index d88b0b32d9..7993b2d7af 100644 --- a/audio/ncmpc/ncmpc.SlackBuild +++ b/audio/ncmpc/ncmpc.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for ncmpc # Copyright 2006-2010 Andrew Brouwers <abrouwers@gmail.com> +# Copyright 2014 Luka Novsak <lnovsak@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ # Modified by the SlackBuilds.org project PRGNAM=ncmpc -VERSION=0.16 +VERSION=${VERSION:-0.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -56,12 +57,14 @@ else LIBDIRSUFFIX="" 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 . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -74,16 +77,15 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - || exit 1 + --mandir=/usr/man -make || exit 1 -make install-strip DESTDIR=$PKG || exit 1 +make +make 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.sample \ +cp -a AUTHORS COPYING NEWS README doc/config.sample \ doc/keys.sample doc/ncmpc.lirc $PKG/usr/doc/$PRGNAM-$VERSION rm -rf $PKG/usr/share/{doc,ncmpc} |