Commit 86d1c667 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: restore yandex-messenger

parent c644ec86
#!/bin/sh
PKGNAME=yandex-messenger
SUPPORTEDARCHES="x86_64"
VERSION="$2"
DESCRIPTION="Yandex Messenger is designed for communication: send text messages, make audio and video calls in private and group chats, subscribe to and create channels."
URL="https://yandex.ru/support/messenger/index.html"
. $(dirname $0)/common.sh
warn_version_is_not_supported
# they publish it on Yandex Disk only (without direct download)
PKGURL="ipfs://Qma7e4MpopXpeoNnTsCXxx92q1oTrgJmz1aHjecvcEBNWx?filename=Yandex_Messenger_2.155.0_amd64.deb"
install_pkgurl
echo "It is unsupported obsoleted version. Ask Yandex to restore the application for Linux."
\ No newline at end of file
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PKGNAME="yandex-messenger"
subst "s|^Name:.*|Name: $PKGNAME|" $SPEC
PRODUCTDIR=/opt/yandex-messenger
PRODUCTCUR=yandex-messenger
. $(dirname $0)/common-chromium-browser.sh
move_to_opt "/opt/Yandex Messenger"
add_bin_link_command $PRODUCT $PRODUCTDIR/$PRODUCT
add_bin_link_command $PRODUCTCUR $PRODUCT
fix_desktop_file "/opt/Yandex Messenger" "/opt/yandex-messenger"
fix_chrome_sandbox
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