#!/bin/sh

PKGNAME=postman
SUPPORTEDARCHES="x86_64 aarch64"
DESCRIPTION='Postman is an API platform for building and using APIs'
URL="https://www.postman.com"

. $(dirname $0)/common.sh

case "$(epm print info -a)" in
    x86_64)
        arch="64" ;;
    aarch64)
        arch="arm64" ;;
esac

PKGURL="https://dl.pstmn.io/download/latest/linux_$arch"

epm pack --install $PKGNAME "$PKGURL"