mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
gis/google-earth: Updated for version 7.3.0.3827.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
389c3939ca
commit
3c9114b21e
2 changed files with 12 additions and 12 deletions
|
@ -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:
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="google-earth"
|
||||
VERSION="7.1.8.3036"
|
||||
HOMEPAGE="https://www.google.com/earth/index.html"
|
||||
DOWNLOAD="https://dl.google.com/linux/earth/deb/pool/main/g/google-earth-stable/google-earth-stable_7.1.8.3036-r0_i386.deb"
|
||||
MD5SUM="bf6ccc911ce09a9ec5dc0e6ee98e92d5"
|
||||
DOWNLOAD_x86_64="https://dl.google.com/linux/earth/deb/pool/main/g/google-earth-stable/google-earth-stable_7.1.8.3036-r0_amd64.deb"
|
||||
MD5SUM_x86_64="77cb0eacde195c224767a77ccf54c8ef"
|
||||
VERSION="7.3.0.3830"
|
||||
HOMEPAGE="http://www.google.com/earth/index.html"
|
||||
DOWNLOAD="http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb"
|
||||
MD5SUM="b66ba870bf4edd26887ffbf6677cbec5"
|
||||
DOWNLOAD_x86_64="http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb"
|
||||
MD5SUM_x86_64="679ac1417275d1804b7dc6a920cb03d2"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Willy Sudiarto Raharjo"
|
||||
EMAIL="willysr@slackbuilds.org"
|
||||
|
|
Loading…
Reference in a new issue