vk.sh 377 Bytes
Newer Older
1 2 3 4
#!/bin/sh

PKGNAME=vk
SUPPORTEDARCHES="x86_64 x86"
5
VERSION="$2"
6
DESCRIPTION="VK Messenger from the official site"
7
URL="https://vk.com/vkme"
8 9 10

. $(dirname $0)/common.sh

11
arch="$(epm print info -a)"
12 13 14 15 16 17
case "$arch" in
    x86)
        arch="i686"
        ;;
esac

18
PKGURL="$(eget --list --latest https://desktop.userapi.com/rpm/master/ "$PKGNAME-$VERSION.$arch.rpm")"
19

20
install_pkgurl