diff options
Diffstat (limited to 'graphics/vuescan/vuescan.SlackBuild')
-rw-r--r-- | graphics/vuescan/vuescan.SlackBuild | 25 |
1 files changed, 11 insertions, 14 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} |