summaryrefslogtreecommitdiff
path: root/gis/google-earth/google-earth.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/google-earth/google-earth.SlackBuild')
-rw-r--r--gis/google-earth/google-earth.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/gis/google-earth/google-earth.SlackBuild b/gis/google-earth/google-earth.SlackBuild
index d97948b006..ec05ca6816 100644
--- a/gis/google-earth/google-earth.SlackBuild
+++ b/gis/google-earth/google-earth.SlackBuild
@@ -30,7 +30,7 @@
# and to Daniel de Kok and Alan_Hicks for their comments.
PRGNAM=google-earth
-VERSION=${VERSION:-7.1.8.3036}
+VERSION=${VERSION:-7.3.0.3830}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/google-earth-stable_$VERSION-r0_$SRCARCH.deb data.tar.xz | tar xJv
+ar p $CWD/google-earth-stable_current_${SRCARCH}.deb data.tar.xz | tar xJv
cd $PKG
chown -R root:root .
# Fix Google braindeadness (and mine)
@@ -77,12 +77,12 @@ find -L . \
find -L . \( -name "*.png" -o -name "*.kml" -o -name "*.xml" \) -exec chmod 0644 {} \;
# Install a .desktop launcher:
-mv $PKG/opt/google/earth/free/google-earth.desktop $PKG/usr/share/applications/google-earth.desktop
+mv $PKG/opt/google/earth/pro/google-earth-pro.desktop $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/free/product_logo_${icon}.png \
- $PKG/usr/share/icons/hicolor/${icon}x${icon}/apps/${PRGNAM}.png
+ install -D $PKG/opt/google/earth/pro/product_logo_${icon}.png \
+ $PKG/usr/share/icons/hicolor/${icon}x${icon}/apps/${PRGNAM}-pro.png
done
# Install mimetypes
@@ -91,7 +91,7 @@ cat $CWD/google-earth-mimetypes.xml > $PKG/usr/share/mime/packages/$PRGNAM-mimet
# Let's take care of documentation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/opt/google/earth/free/gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/opt/google/earth/pro/gpl.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Clean up cruft/unneeded directories.The cron job in /etc is for Debian/Ubuntu only: