Commit d3e8fd01 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add pachca

parent a18c5ff9
#!/bin/sh
PKGNAME=pachca
SUPPORTEDARCHES="x86_64"
DESCRIPTION="Корпоративный мессенджер Пачка с официального сайта"
VERSION="$2"
. $(dirname $0)/common.sh
arch="$(epm print info --debian-arch)"
file="${PKGNAME}_${VERSION}_$arch.deb"
PKGURL=$(epm tool eget --list --latest https://github.com/pachca/pachca-desktop/releases $file) || fatal "Can't get package URL"
epm install "$PKGURL"
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"
. $(dirname $0)/common-chromium-browser.sh
move_to_opt /usr/lib/pachca
rm usr/bin/pachca
add_bin_link_command
remove_dir /usr/share/lintian
add_electron_deps
fix_chrome_sandbox
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