sane-panakvs.sh 682 Bytes
Newer Older
1 2 3 4
#!/bin/sh

PKGNAME=sane-panakvs
SUPPORTEDARCHES="x86_64"
5
VERSION="$2"
6 7
DESCRIPTION="Panasonic Scanner Driver for Linux from the official site"
URL="https://panasonic.net/cns/pcc/support/scanner/linuxspanakvs.html"
8 9 10

. $(dirname $0)/common.sh

11 12
warn_version_is_not_supported

13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
VERSION=1.7.0

arch="$(epm print info -a)"
case "$arch" in
    x86_64)
        file="libsane-panakvs-$VERSION-x86_64.tar.gz"
        ;;
# we don't support old arches
#    x86)
#        file="libsane-panakvs-$VERSION-i686.tar.gz"
#        ;;
    *)
        fatal "$arch arch is not supported"
        ;;
esac

PKGURL="https://www.psn-web.net/cs-im/Japan/Scanner/cojp/data_cmns/linux/$file"

31
install_pack_pkgurl