Commit b7f6ce5b authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: drop skype

parent e2777529
#!/bin/sh
TAR="$1"
RETURNTARNAME="$2"
#VERSION="$3"
. $(dirname $0)/common.sh
epm assure unsquashfs squashfs-tools || fatal "Install a package with unsquashfs command manually."
unsquashfs $TAR || fatal
VERSION=$(grep version squashfs-root/snapcraft.yaml | awk '{print $2}')
PKGNAME=$PRODUCT-$VERSION
mkdir -p opt/
mkdir -p usr/share/applications/
mkdir -p usr/share/icons/hicolor/
mv squashfs-root/snap/gui/*.desktop usr/share/applications/
mv squashfs-root/usr/share/skypeforlinux opt/
for i in 16 32 256 512 1024; do
install -Dm644 squashfs-root/usr/share/icons/hicolor/${i}x${i}/apps/skypeforlinux.png usr/share/icons/hicolor/${i}x${i}/apps/skypeforlinux.png
done
erc pack $PKGNAME.tar opt usr
return_tar $PKGNAME.tar
#!/bin/sh
PKGNAME=skypeforlinux
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Skype for Linux - Stable/Release Version from the official site"
URL="https://skype.com"
. $(dirname $0)/common.sh
warn_version_is_not_supported
# https://snapcraft.io/skype https://aur.archlinux.org/packages/skypeforlinux-bin
PKGURL="$(snap_get_pkgurl https://snapcraft.io/skype)"
install_pack_pkgurl
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=skype
PRODUCTCUR=skypeforlinux
PRODUCTDIR=/opt/skypeforlinux
. $(dirname $0)/common-chromium-browser.sh
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