diff options
Diffstat (limited to 'multimedia/GoogleEarth/GoogleEarth.SlackBuild')
-rw-r--r-- | multimedia/GoogleEarth/GoogleEarth.SlackBuild | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/multimedia/GoogleEarth/GoogleEarth.SlackBuild b/multimedia/GoogleEarth/GoogleEarth.SlackBuild index 0f8ee7193ecfd..42169faab0d21 100644 --- a/multimedia/GoogleEarth/GoogleEarth.SlackBuild +++ b/multimedia/GoogleEarth/GoogleEarth.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for google-earth -# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,28 +26,20 @@ # and to Daniel de Kok and Alan_Hicks for their comments. PRGNAM=GoogleEarth -VERSION=${VERSION:-5.1.3533.1731} +VERSION=${VERSION:-5.1.3535.3218} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} + # No flags/configure needed as it is just a binary repackaging. +ARCH=i486 -set -e +set -e # Exit on most errors. rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -93,7 +85,7 @@ Exec=googleearth %f Terminal=false MultipleArgs=false Type=Application -Icon=/usr/share/pixmaps/googleearth-icon.png +Icon=googleearth-icon Categories=Network; MimeType=application/vnd.google-earth.kml+xml;application/vnd.google-earth.kmz;application/earthviewer;application/keyhole; |