Commit 0f6b5aec authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add signal messenger support (thanks, george@)

parent 4437824c
#!/bin/sh
PKGNAME=signal-desktop
SUPPORTEDARCHES="x86_64"
DESCRIPTION='Signal private messenger from the official site'
DOWNURL="https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop"
. $(dirname $0)/common.sh
URL=$(epm tool eget --list --latest http://mirror.cs.uchicago.edu/signal/pool/main/s/signal-desktop/ '*.amd64.deb')
URL=$(echo "$URL" | sed -e "s|\(.*/\)|$DOWNURL/|")
epm install "$URL"
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=signal-desktop
PRODUCTCUR=Signal
PRODUCTDIR=/opt/$PRODUCTCUR
. $(dirname $0)/common-chromium-browser.sh
install_deps
subst '1iAutoProv:no' $SPEC
subst "s|.*/etc/apt.*||" $SPEC
subst '/linux-arm64/d' $SPEC
rm -rf $BUILDROOT/opt/Signal/resources/app.asar.unpacked/node_modules/ffi-napi/node_modules/ref-napi/prebuilds/linux-arm64
fix_chrome_sandbox
add_bin_link_command
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