diff options
Diffstat (limited to 'multimedia/google-earth/google-earth.SlackBuild')
-rw-r--r-- | multimedia/google-earth/google-earth.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/multimedia/google-earth/google-earth.SlackBuild b/multimedia/google-earth/google-earth.SlackBuild index 04046bc88c..2a475aab97 100644 --- a/multimedia/google-earth/google-earth.SlackBuild +++ b/multimedia/google-earth/google-earth.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for google-earth # Copyright 2007-2013 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +30,7 @@ # and to Daniel de Kok and Alan_Hicks for their comments. PRGNAM=google-earth -VERSION="7.1.4.1529" +VERSION=${VERSION:-7.1.4.1529} ARCH=i386 # Since this is the arch google dictates BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,7 +41,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # No flags/configure needed as it is just a binary repackaging. -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -51,10 +52,10 @@ chown -R root:root . # Fix Google braindeadness (and mine) find . -type d -exec chmod 0755 {} \; 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 {} \; # Sadly (by lack of politer word), Google has some inconsistent permissions # for normal files; this should deal with them rather nicely. |