diff options
author | Yanes Checcacci Balod <yanes@pobox.com> | 2014-05-03 13:56:50 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-03 13:56:50 +0700 |
commit | 9a2f809c346508b42d6786d9877d8a6b06445eac (patch) | |
tree | fc84585bb021f9d514968b08ce5cc79b1436b71c /audio/volume.app/volume.app.SlackBuild | |
parent | 711300a32e22f9708682db5e606257bfccbbb1cb (diff) | |
download | slackbuilds-9a2f809c346508b42d6786d9877d8a6b06445eac.tar.gz |
audio/volume.app: Fix mute/unmute in ALSA.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/volume.app/volume.app.SlackBuild')
-rw-r--r-- | audio/volume.app/volume.app.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/audio/volume.app/volume.app.SlackBuild b/audio/volume.app/volume.app.SlackBuild index 74a2a2bb3b..9fa3554c56 100644 --- a/audio/volume.app/volume.app.SlackBuild +++ b/audio/volume.app/volume.app.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=volume.app VERSION=${VERSION:-1.1a} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,10 +71,14 @@ find -L . \ sed -i "s|/usr/local|/usr/|" Makefile -# by default, this is the same file as in source -# if you are using ALSA, you need to edit this file as stated in README -# before proceeding -cp $CWD/config.h.in . +# by default, this is the 'almost' the same file as in source +# if you are using ALSA, you will need them! Read README before proceeding +if [ -f "$CWD/config.h.in" ]; then + cp $CWD/config.h.in ./ +fi +if [ -f "$CWD/volume.app.c" ]; then + cp $CWD/volume.app.c ./ +fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |