summaryrefslogtreecommitdiff
path: root/multimedia/google-talkplugin/google-talkplugin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/google-talkplugin/google-talkplugin.SlackBuild')
-rw-r--r--multimedia/google-talkplugin/google-talkplugin.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/multimedia/google-talkplugin/google-talkplugin.SlackBuild b/multimedia/google-talkplugin/google-talkplugin.SlackBuild
index 8dc2003569..585373ebaf 100644
--- a/multimedia/google-talkplugin/google-talkplugin.SlackBuild
+++ b/multimedia/google-talkplugin/google-talkplugin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Google Voice (talkplugin)
-# Copyright 2010 Erik Hanson, Minneapolis, MN, USA
+# Copyright 2010-2012 Erik Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,19 +23,25 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=google-talkplugin
-VERSION=1.4.1.0
-ARCH=${ARCH:-i386} # i386 or x86_64
+VERSION=${VERSION:-2.6.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i386 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Just in case:
case "$ARCH" in
- i?86) DEBARCH="i386" ; ARCH=i386 ;;
+ i?86) DEBARCH="i386" ;;
x86_64) DEBARCH="amd64" ;;
*) echo "Not supported" ; exit 1 ;;
esac