Commit f6f7db4d authored by Ivan Mazhukin's avatar Ivan Mazhukin Committed by Vitaly Lipatov

epm play skype: fix install; move to snap (eterbug #17865)

parent b76b7e53
......@@ -8,11 +8,9 @@ URL="https://skype.com"
. $(dirname $0)/common.sh
#arch=$(epm print info --distro-arch)
#pkgtype=$(epm print info -p)
pkgtype=deb
warn_version_is_not_supported
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=skypeforlinux-stable-bin
PKGURL="https://repo.skype.com/deb/pool/main/s/${PKGNAME}/${PKGNAME}_${VERSION}_amd64.deb"
# https://snapcraft.io/skype https://aur.archlinux.org/packages/skypeforlinux-bin
PKGURL="$(snap_get_pkgurl https://snapcraft.io/skype)"
install_pkgurl
install_pack_pkgurl
......@@ -6,24 +6,17 @@ SPEC="$2"
PRODUCT=skype
PRODUCTCUR=skypeforlinux
PRODUCTDIR=/opt/skype
PRODUCTDIR=/opt/skypeforlinux
. $(dirname $0)/common-chromium-browser.sh
# remove key install script
remove_dir /opt/skypeforlinux
move_to_opt /usr/share/skypeforlinux
# https://bugzilla.altlinux.org/45502
remove_file /usr/bin/skypeforlinux
add_bin_link_command $PRODUCTCUR $PRODUCTDIR/$PRODUCTCUR
add_bin_link_command $PRODUCT $PRODUCTCUR
fix_chrome_sandbox
fix_desktop_file /usr/bin/skypeforlinux
fix_desktop_file '${SNAP}/meta/gui/skypeforlinux.png' skypeforlinux.png
add_electron_deps
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment