#!/bin/sh
set -euC

url="https://go.skype.com/skypeforlinux-64.deb"

(
    tmp_dir="$(mktemp -d)"
    trap 'rm -rf "$tmp_dir"' EXIT
    cd "$tmp_dir"

    chmod a+r .
    wget "$url"
    sudo apt install "./$(basename "$url")"
)