Commit bcce1fdf authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add slack support

parent 3d951951
#!/bin/sh
PKGNAME=slack
SUPPORTEDARCHES="x86_64"
DESCRIPTION='Slack from the official site'
. $(dirname $0)/common.sh
arch=x86_64
pkgtype=rpm
PKGMASK="$(epm print constructname $PKGNAME "*" $arch $pkgtype)"
PKG="$(epm tool eget --list --latest https://slack.com/downloads/instructions/fedora $PKGMASK)" || fatal "Can't get package URL"
[ -n "$PKG" ] || fatal "Can't get package URL"
epm install --repack "$PKG"
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
PRODUCT=slack
. $(dirname $0)/common-chromium-browser.sh
move_to_opt
fix_chrome_sandbox
install_deps
cleanup
#rm -f $BUILDROOT$PRODUCTDIR/$PRODUCT
#add_bin_link_command
add_bin_commands
subst '1iAutoProv:no' $SPEC
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