#!/bin/sh
PKGNAME=snap4arduino
SUPPORTEDARCHES="x86_64 x86"
VERSION="$2"
DESCRIPTION="Snap4Arduino binds Snap! and Arduino together"
URL="https://github.com/bromagosa/Snap4Arduino"
. $(dirname $0)/common.sh
arch=$(epm print info --distro-arch)
case $arch in
x86_64|amd64)
arch=64 ;;
i586)
arch=32 ;;
*)
fatal "Unsupported arch $arch for $(epm print info -d)"
esac
PKGURL=$(eget --list --latest https://github.com/bromagosa/Snap4Arduino/releases "Snap4Arduino_desktop-gnu-$arch_*.tar.gz") #"
install_pack_pkgurl
-
Vitaly Lipatov authored
epm play.d/common.sh: implement install_pkgurl and install_pack_pkgurl and use it (repack rpm packages for any distro)
155cb2e9