aboutsummaryrefslogtreecommitdiff
path: root/audio/gmpc/gmpc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gmpc/gmpc.SlackBuild')
-rw-r--r--audio/gmpc/gmpc.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/audio/gmpc/gmpc.SlackBuild b/audio/gmpc/gmpc.SlackBuild
index 01bbe512e822f..b12ecd35f597e 100644
--- a/audio/gmpc/gmpc.SlackBuild
+++ b/audio/gmpc/gmpc.SlackBuild
@@ -2,6 +2,7 @@
#
# Slackware build script for GMPC
#
+# Copyright 2014 Dhaby Xiloj, Guatemala C. A.
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
@@ -23,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gmpc
-VERSION=${VERSION:-0.20.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-11.8.16}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,10 +65,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# patch for image buttons
+zcat $CWD/buttons.patch.gz | patch -p1
CFLAGS="$SLKCFLAGS" \
./configure \