eagle.sh 593 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME=Autodesk_EAGLE
4
SUPPORTEDARCHES="x86_64"
5
VERSION="$2"
6
DESCRIPTION="EAGLE (EDA software) from the official site"
7

8
. $(dirname $0)/common.sh
9

10
warn_version_is_not_supported
11 12

VERSION=9.6.2
13
PKGURL="https://trial2.autodesk.com/NET17SWDLD/2017/EGLPRM/ESD/Autodesk_EAGLE_${VERSION}_English_Linux_64bit.tar.gz"
14
IPFSURL="ipfs://Qmd38jJnTnUMUeJuKSDBGesqXF3SxEahUVZc6NUPyMKgj1?filename=Autodesk_EAGLE_9.6.2_English_Linux_64bit.tar.gz"
15

16 17 18
if ! eget --check-site $PKGURL ; then
    echo "It is possible you are blocked from USA, trying via IPFS ..."
    PKGURL="$IPFSURL"
19
fi
20

21
install_pkgurl