diff options
Diffstat (limited to 'audio/ncmpc/ncmpc.SlackBuild')
-rw-r--r-- | audio/ncmpc/ncmpc.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/ncmpc/ncmpc.SlackBuild b/audio/ncmpc/ncmpc.SlackBuild index 1678993f02f5d..0bbc57e15bf8e 100644 --- a/audio/ncmpc/ncmpc.SlackBuild +++ b/audio/ncmpc/ncmpc.SlackBuild @@ -25,10 +25,11 @@ # Modified by the SlackBuilds.org project PRGNAM=ncmpc -VERSION=0.11.1 +VERSION=0.14 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -38,8 +39,6 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2" fi @@ -48,7 +47,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION -tar xvfz $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1 cd $PRGNAM-$VERSION || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . @@ -57,6 +56,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --mandir=/usr/man \ || exit 1 make || exit 1 |