#!/bin/sh

PKGNAME=reaper
SUPPORTEDARCHES="x86_64 x86 armhf aarch64"
VERSION="$2"
DESCRIPTION='REAPER is a complete digital audio production application for computers, offering a full multitrack audio and MIDI recording, editing, processing, mixing and mastering toolset.'
URL="https://www.reaper.fm/index.php"

. $(dirname $0)/common.sh

warn_version_is_not_supported

case "$(epm print info -a)" in
    x86)
        arch="i686" ;;
    armhf)
        arch="armv7l" ;;
esac

PKGURL=$(eget --list --latest https://www.reaper.fm/download.php "*$arch.tar.xz")

install_pack_pkgurl