summaryrefslogtreecommitdiff
path: root/multimedia/google-earth
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/google-earth')
-rw-r--r--multimedia/google-earth/google-earth.SlackBuild13
-rw-r--r--multimedia/google-earth/google-earth.info5
2 files changed, 9 insertions, 9 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.
diff --git a/multimedia/google-earth/google-earth.info b/multimedia/google-earth/google-earth.info
index 8deea4d5bd..ba2840e9db 100644
--- a/multimedia/google-earth/google-earth.info
+++ b/multimedia/google-earth/google-earth.info
@@ -5,6 +5,5 @@ DOWNLOAD="http://dl.google.com/dl/earth/client/current/google-earth-stable_curre
MD5SUM="b8847cb867bdb3ff892149f0fd68f036"
DOWNLOAD_x86_64="UNSUPPORTED"
MD5SUM_x86_64=""
-MAINTAINER="Michiel van Wessem"
-EMAIL="michiel@slackbuilds.org"
-REQUIRES=""
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"