diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2023-01-20 03:45:45 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-21 10:22:02 +0700 |
commit | 0b54d136b8e121c172b611c9f1f65202c4e3c571 (patch) | |
tree | 999c2ed879f24382ec68b2513baf92bf552239fb /gis/google-earth/google-earth.SlackBuild | |
parent | 25c2d8209603307eabb68d43d2f9121392fbc79b (diff) |
gis/google-earth: Updated for version 7.3.6.9345.
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.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gis/google-earth/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild index 0ab8641e0d31e..59c5c5f1d3fdc 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) |