#!/bin/sh
PKGNAME=teams
SUPPORTEDARCHES="x86_64"
# After April 12, 2023, Microsoft Teams Free (classic), the legacy free Teams app for business, will no longer be available.
# https://www.microsoft.com/en-us/microsoft-teams/free-classic-retirement?rtc=1
DESCRIPTION='' #"Microsoft Teams for Linux from the official site"
. $(dirname $0)/common.sh
repack=''
pkgtype="$(epm print info -p)"
if [ "$pkgtype" = "deb" ] ; then
URL="https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams"
arch=amd64
else
URL="https://packages.microsoft.com/yumrepos/ms-teams"
arch=x86_64
pkgtype=rpm
fi
if [ "$(epm print info -s)" = "alt" ] ; then
repack="--repack"
fi
# rpm and deb contains the same binaries
# $ diff -ru teams-1.5.00.23861-1.x86_64 teams_1.5.00.23861_amd64
# epm uses eget to download * names
epm install $repack "$URL/$(epm print constructname teams "[0-9]*" $arch $pkgtype)"
-
Vitaly Lipatov authored82f89d67