summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-02-29 10:18:18 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-02 19:12:13 +0700
commit280b6bffcb778bbbea6034951aae8bc308f53616 (patch)
tree1fc08e2917c454880ee1c299101f884f0ef9ac3b
parent4b478f0fc90f3fb8ee3558c44b14a6b468d4853b (diff)
downloadslackbuilds-280b6bffcb778bbbea6034951aae8bc308f53616.tar.gz
graphics/vuescan: Updated for version 9.5.39.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--graphics/vuescan/vuescan.SlackBuild25
-rw-r--r--graphics/vuescan/vuescan.info10
2 files changed, 16 insertions, 19 deletions
diff --git a/graphics/vuescan/vuescan.SlackBuild b/graphics/vuescan/vuescan.SlackBuild
index 0b1a38bdd7..d3766bf3df 100644
--- a/graphics/vuescan/vuescan.SlackBuild
+++ b/graphics/vuescan/vuescan.SlackBuild
@@ -23,23 +23,20 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vuescan
-VERSION=${VERSION:-9.4.47}
+VERSION=${VERSION:-9.5.39}
+SRCVER=${SRCVER:-$(echo $VERSION | sed -e 's/\.//' -e 's/\..*//')}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# and choose source file accordingly
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86)
- ARCH=i486
- SOURCEFILE=vuex3294.tgz ;;
- x86_64)
- ARCH=x86_64
- SOURCEFILE=vuex6494.tgz ;;
- # Other archs are unsupported:
- *) echo "ARCH $( uname -m ) is unsupported."; exit 1 ;;
- esac
-fi
+ARCH=${ARCH:-$(uname -m)}
+case $ARCH in
+ i?86)
+ SOURCEFILE=vuex32$SRCVER.tgz ;;
+ x86_64)
+ SOURCEFILE=vuex64$SRCVER.tgz ;;
+ *)
+ echo "ARCH $ARCH is unsupported."; exit 1 ;;
+esac
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
diff --git a/graphics/vuescan/vuescan.info b/graphics/vuescan/vuescan.info
index 056b9b676c..165461239f 100644
--- a/graphics/vuescan/vuescan.info
+++ b/graphics/vuescan/vuescan.info
@@ -1,10 +1,10 @@
PRGNAM="vuescan"
-VERSION="9.4.47"
+VERSION="9.5.39"
HOMEPAGE="http://www.hamrick.com"
-DOWNLOAD="http://www.hamrick.com/files/vuex3294.tgz"
-MD5SUM="ca3dd0a9a250d5ce8bfdf8dec1004fab"
-DOWNLOAD_x86_64="http://www.hamrick.com/files/vuex6494.tgz"
-MD5SUM_x86_64="cc7cd9ed4719c4e32059f1b3ad583070"
+DOWNLOAD="http://www.hamrick.com/files/vuex3295.tgz"
+MD5SUM="43f158bdbcd5f0e2f285338b2f036704"
+DOWNLOAD_x86_64="http://www.hamrick.com/files/vuex6495.tgz"
+MD5SUM_x86_64="df7d819e7b34a70a92d2d585ac17319b"
REQUIRES=""
MAINTAINER="Heiko Rosemann"
EMAIL="heiko.rosemann@web.de"