aboutsummaryrefslogtreecommitdiff
path: root/multimedia/google-talkplugin/google-talkplugin.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2012-03-30 00:01:44 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-03-30 00:01:44 -0400
commit32a7dfeb4332f8845623290c55a3fdc570b426ca (patch)
treec85bfa60c9ee6ff4cf3dc113239245cc4c6f05fd /multimedia/google-talkplugin/google-talkplugin.SlackBuild
parent55a81da1857f030a978cbf8da6d93fb690e1da9f (diff)
multimedia/google-talkplugin: Updated for version 2.6.1.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 8dc2003569f1..585373ebaff1 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