#!/bin/sh
PKGNAME=yucca
SUPPORTEDARCHES="x86_64 armv7l aarch64"
VERSION="$2"
DESCRIPTION="Simple solution for video surveillance"
URL="https://yucca.app/"
. $(dirname $0)/common.sh
case $(epm print info -a) in
x86_64)
arch=amd64 ;;
armv7l)
arch=arm ;;
aarch64)
arch=arm64 ;;
*)
fatal "Unsupported arch $arch for $(epm print info -d)"
esac
if [ "$VERSION" = "*" ] ; then
VERSION=$(eget -O- https://releases.yucca.app/latest/VERSION.txt)
fi
PKGURL="https://releases.yucca.app/v${VERSION}/yucca_${VERSION}_linux_${arch}.tar.gz"
install_pack_pkgurl $VERSION
-
Ivan Mazhukin authored6eb8dcb6