Commit 7e68f68c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add vuescan

parent f9c68a01
#!/bin/sh
DESCRIPTION="VueScan from the official site"
PKGNAME=vuescan
SUPPORTEDARCHES="x86_64 x86 aarch64 armhf"
. $(dirname $0)/common.sh
arch="$(epm print info -a)"
case "$arch" in
x86_64)
file="vuex64"
;;
x86)
file="vuex32"
;;
armhf)
file="vuea32"
;;
aarch64)
file="vuea64"
;;
*)
fatal "$arch arch is not supported"
;;
esac
pkgtype="$(epm print info -p)"
PKGURL="$(eget --list --latest https://www.hamrick.com/alternate-versions.html "$file*.$pkgtype" )"
epm install "$PKGURL"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment