aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2023-01-20 03:45:45 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-21 10:22:02 +0700
commit0b54d136b8e121c172b611c9f1f65202c4e3c571 (patch)
tree999c2ed879f24382ec68b2513baf92bf552239fb /gis
parent25c2d8209603307eabb68d43d2f9121392fbc79b (diff)
gis/google-earth: Updated for version 7.3.6.9345.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/google-earth/google-earth.SlackBuild10
-rw-r--r--gis/google-earth/google-earth.info4
2 files changed, 5 insertions, 9 deletions
diff --git a/gis/google-earth/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild
index 0ab8641e0d31..59c5c5f1d3fd 100644
--- a/gis/google-earth/google-earth.SlackBuild
+++ b/gis/google-earth/google-earth.SlackBuild
@@ -33,7 +33,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=google-earth
-VERSION=${VERSION:-7.3.6}
+VERSION=${VERSION:-7.3.6.9345}
+SHORTVER=${SHORTVER:-7.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,16 +68,11 @@ fi
# No flags/configure needed as it is just a binary repackaging.
set -e
-FULLVERSION=$(ar p google-earth-pro-stable_${VERSION}_${SRCARCH}.deb control.tar.xz 2> /dev/null | tar JxO ./control 2> /dev/null | grep Version | awk '{print $2}' | cut -d- -f1)
-if [ -z "$FULLVERSION" ]; then # try to use control.tar.gz instead:
- FULLVERSION=$(ar p google-earth-pro-stable_${VERSION}_${SRCARCH}.deb control.tar.gz 2> /dev/null | tar zxO ./control 2> /dev/null | grep Version | awk '{print $2}' | cut -d- -f1)
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/google-earth-pro-stable_${VERSION}_${SRCARCH}.deb data.tar.xz | tar xJv
+ar p $CWD/google-earth-pro-stable_${SHORTVER}_${SRCARCH}.deb data.tar.xz | tar xJv
cd $PKG
chown -R root:root .
# Fix Google braindeadness (and mine)
diff --git a/gis/google-earth/google-earth.info b/gis/google-earth/google-earth.info
index efa41e6f80ce..a4a57bf7d75a 100644
--- a/gis/google-earth/google-earth.info
+++ b/gis/google-earth/google-earth.info
@@ -1,10 +1,10 @@
PRGNAM="google-earth"
-VERSION="7.3.6"
+VERSION="7.3.6.9345"
HOMEPAGE="https://www.google.com/earth/index.html"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://dl.google.com/dl/linux/direct/google-earth-pro-stable_7.3.6_amd64.deb"
-MD5SUM_x86_64="55473878fd4369b1f8ce7268d35ead53"
+MD5SUM_x86_64="0c801e2c22c42d47210bae598cbece1d"
REQUIRES=""
MAINTAINER="Lenard Spencer"
EMAIL="lenardrspencer@gmail.com"