snap4arduino.sh 552 Bytes
Newer Older
1 2 3
#!/bin/sh

PKGNAME=snap4arduino
4
SUPPORTEDARCHES="x86_64 x86"
5
VERSION="$2"
6
DESCRIPTION="Snap4Arduino binds Snap! and Arduino together"
7
URL="https://github.com/bromagosa/Snap4Arduino"
8 9 10

. $(dirname $0)/common.sh

11
arch=$(epm print info --distro-arch)
12 13 14 15 16 17
case $arch in
    x86_64|amd64)
        arch=64 ;;
    i586)
        arch=32 ;;
    *)
18
        fatal "Unsupported arch $arch for $(epm print info -d)"
19 20
esac

21
PKGURL=$(eget --list --latest https://github.com/bromagosa/Snap4Arduino/releases "Snap4Arduino_desktop-gnu-$arch_*.tar.gz") #"
22

23
install_pack_pkgurl