gis/google-earth: Updated for version 7.3.6.9345.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Lenard Spencer 2023-01-20 03:45:45 +00:00 committed by Willy Sudiarto Raharjo
parent 25c2d82096
commit 0b54d136b8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 5 additions and 9 deletions

View file

@ -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)

View file

@ -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"