summaryrefslogtreecommitdiffstats
path: root/gis/google-earth/google-earth.SlackBuild
diff options
context:
space:
mode:
author Lenard Spencer <lenardrspencer@gmail.com>2022-12-15 17:33:39 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-17 09:13:55 +0700
commitc6cd146089263c5b4d182c01c3004ddda856b157 (patch)
tree8463b4de152b7f82a2b7f356a6b54ab116bc4b6c /gis/google-earth/google-earth.SlackBuild
parentcd326321523cb6992869cf51aadaeef26248dc78 (diff)
downloadslackbuilds-c6cd146089263c5b4d182c01c3004ddda856b157.tar.gz
slackbuilds-c6cd146089263c5b4d182c01c3004ddda856b157.tar.xz
gis/google-earth: Updated for version 7.3.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/google-earth/google-earth.SlackBuild')
-rw-r--r--gis/google-earth/google-earth.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/gis/google-earth/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild
index 82bc06cb7a..0ab8641e0d 100644
--- a/gis/google-earth/google-earth.SlackBuild
+++ b/gis/google-earth/google-earth.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2007-2013 Michiel van Wessem, Manchester, United Kingdom
# Copyright 2016-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-# Copyright 2021 Lenard Spencer, Orlando, Florida, USA
+# Copyright 2021-2022 Lenard Spencer, Orlando, Florida, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -33,7 +33,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=google-earth
-VERSION=${VERSION:-7.3.4}
+VERSION=${VERSION:-7.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -93,10 +93,13 @@ find -L . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) -exec chmod 0644
# Install a .desktop launcher:
mv $PKG/opt/google/earth/pro/google-earth-pro.desktop $PKG/usr/share/applications/google-earth.desktop
+# Clean up .desktop to satisfy sbopkglint:
+sed -i '/MultipleArgs/d' $PKG/usr/share/applications/google-earth.desktop
+sed -i "s|Application;||" $PKG/usr/share/applications/google-earth.desktop
# Copy icons to /usr/share/icons
for icon in 16 22 24 32 48 64 128 256; do
- install -D $PKG/opt/google/earth/pro/product_logo_${icon}.png \
+ install -m 644 -D $PKG/opt/google/earth/pro/product_logo_${icon}.png \
$PKG/usr/share/icons/hicolor/${icon}x${icon}/apps/${PRGNAM}-pro.png
done