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" ...@@ -8,11 +8,9 @@ URL="https://skype.com"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
#arch=$(epm print info --distro-arch) warn_version_is_not_supported
#pkgtype=$(epm print info -p)
pkgtype=deb
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=skypeforlinux-stable-bin # https://snapcraft.io/skype https://aur.archlinux.org/packages/skypeforlinux-bin
PKGURL="https://repo.skype.com/deb/pool/main/s/${PKGNAME}/${PKGNAME}_${VERSION}_amd64.deb" PKGURL="$(snap_get_pkgurl https://snapcraft.io/skype)"
install_pkgurl install_pack_pkgurl
...@@ -6,24 +6,17 @@ SPEC="$2" ...@@ -6,24 +6,17 @@ SPEC="$2"
PRODUCT=skype PRODUCT=skype
PRODUCTCUR=skypeforlinux PRODUCTCUR=skypeforlinux
PRODUCTDIR=/opt/skype PRODUCTDIR=/opt/skypeforlinux
. $(dirname $0)/common-chromium-browser.sh . $(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 $PRODUCTCUR $PRODUCTDIR/$PRODUCTCUR
add_bin_link_command $PRODUCT $PRODUCTCUR add_bin_link_command $PRODUCT $PRODUCTCUR
fix_chrome_sandbox fix_chrome_sandbox
fix_desktop_file /usr/bin/skypeforlinux fix_desktop_file /usr/bin/skypeforlinux
fix_desktop_file '${SNAP}/meta/gui/skypeforlinux.png' skypeforlinux.png
add_electron_deps 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