skype.sh 600 Bytes
#!/bin/sh

PKGNAME=skypeforlinux
SUPPORTEDARCHES="x86_64"
DESCRIPTION="Skype for Linux - Stable/Release Version from the official site"

. $(dirname $0)/common.sh


#arch=$($DISTRVENDOR --distro-arch)
#pkgtype=$($DISTRVENDOR -p)
pkgtype=deb

# don't used
complex_get()
{
    pkgtype=deb
    # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=skypeforlinux-stable-bin
    _pkgname=skypeforlinux
    pkgver=8.65.0.78
    PKG= "https://repo.skype.com/deb/pool/main/s/${_pkgname}/${_pkgname}_${pkgver}_amd64.deb"
}

PKG="https://repo.skype.com/latest/skypeforlinux-64.$pkgtype"

epm install "$PKG"