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 | |
parent | 13a2c54d6da4730364df3ed97671825a774a6105 (diff) |
audio/ncmpc: Updated for version 0.21 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | audio/ncmpc/README | 6 | ||||
-rw-r--r-- | audio/ncmpc/ncmpc.SlackBuild | 20 | ||||
-rw-r--r-- | audio/ncmpc/ncmpc.info | 12 |
3 files changed, 20 insertions, 18 deletions
diff --git a/audio/ncmpc/README b/audio/ncmpc/README index 229fe1c45c200..0cf1d5eae36d1 100644 --- a/audio/ncmpc/README +++ b/audio/ncmpc/README @@ -1,4 +1,4 @@ -ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc connects -to a MPD running on a machine on the local network, and controls this with -an interface inspired by cplay. If ncmpc is used with lirc and irpty it can +ncmpc is a curses client for the Music Player Daemon (MPD). ncmpc connects +to a MPD running on a machine on the local network, and controls this with +an interface inspired by cplay. If ncmpc is used with lirc and irpty it can be used to manage playlists and control MPD with a remote control. diff --git a/audio/ncmpc/ncmpc.SlackBuild b/audio/ncmpc/ncmpc.SlackBuild index d88b0b32d9206..7993b2d7af85f 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} diff --git a/audio/ncmpc/ncmpc.info b/audio/ncmpc/ncmpc.info index df9ac117ee0c6..afe739d475360 100644 --- a/audio/ncmpc/ncmpc.info +++ b/audio/ncmpc/ncmpc.info @@ -1,10 +1,10 @@ PRGNAM="ncmpc" -VERSION="0.16" -HOMEPAGE="http://mpd.wikia.com/wiki/Client:Ncmpc" -DOWNLOAD="http://www.musicpd.org/download/ncmpc/old/ncmpc-0.16.tar.bz2" -MD5SUM="63b6bf666b6326c87abdea5f900a4fc3" +VERSION="0.21" +HOMEPAGE="http://www.musicpd.org/clients/ncmpc/" +DOWNLOAD="http://www.musicpd.org/download/ncmpc/0/ncmpc-0.21.tar.bz2" +MD5SUM="f26658e84ce08019bf3fe5857f6f4014" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libmpdclient" -MAINTAINER="Andrew Brouwers" -EMAIL="abrouwers@gmail.com" +MAINTAINER="Luka Novsak" +EMAIL="lnovsak@gmail.com" |