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

PKGNAME=sane-panakvs

SUPPORTEDARCHES="x86_64"
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 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

. $(dirname $0)/common.sh

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"

epm pack --install $PKGNAME "$PKGURL"