whatsapp.sh 748 Bytes
Newer Older
1 2 3 4
#!/bin/sh

PKGNAME=whatsapp-for-linux
SUPPORTEDARCHES="x86_64"
5
VERSION="$2"
6
DESCRIPTION='An unofficial WhatsApp desktop application (from the repository if the package is there, or from the official site)'
7
URL="https://github.com/eneshecan/whatsapp-for-linux"
8 9 10

. $(dirname $0)/common.sh

11
if epm install $PKGNAME ; then
12
    exit 0
13 14 15
fi

[ "$(epm print info -s)" = "alt" ] && fatal "ALT is not supports $PKGNAME AppImage for now."
16 17

arch=x86_64
18
# sh: symbol lookup error: /tmp/.private/lav/.mount_whatsaxhRMDh/opt/libc/lib/x86_64-linux-gnu/libc.so.6: undefined symbol: __libc_enable_secure, version GLIBC_PRIVATE
19
PKGURL=$(eget --list --latest https://github.com/eneshecan/whatsapp-for-linux/releases "$PKGNAME-$VERSION-$arch.AppImage")
20 21

install_pkgurl
22