Commit 35746972 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add VK messenger

parent 17ec9d0f
#!/bin/sh
PKGNAME=vk
SUPPORTEDARCHES="x86_64 x86"
DESCRIPTION="VK Messenger from the official site"
. $(dirname $0)/common.sh
arch="$($DISTRVENDOR -a)"
case "$arch" in
x86)
arch="i686"
;;
esac
URL=$(eget --list --latest https://desktop.userapi.com/rpm/master/ "*.$arch.rpm")
epm install $URL
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=vk
PRODUCTDIR=/opt/$PRODUCT
. $(dirname $0)/common-chromium-browser.sh
move_to_opt
fix_chrome_sandbox
install_deps
subst '1iAutoProv:no' $SPEC
remove_dir /etc
rm -f $BUILDROOT/usr/bin/vk
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