Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
4e871542
Commit
4e871542
authored
Mar 27, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add mattermost-desktop
parent
c53c1f51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
0 deletions
+44
-0
mattermost-desktop.sh
play.d/mattermost-desktop.sh
+27
-0
mattermost-desktop.sh
repack.d/mattermost-desktop.sh
+17
-0
No files found.
play.d/mattermost-desktop.sh
0 → 100755
View file @
4e871542
#!/bin/sh
PKGNAME
=
mattermost-desktop
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Mattermost Desktop application for Linux from the official site"
URL
=
"https://mattermost.com/"
.
$(
dirname
$0
)
/common.sh
arch
=
"
$(
epm print info
-a
)
"
case
"
$arch
"
in
x86_64
)
arch
=
amd64
;;
aarch64
)
arch
=
arm64
;;
*
)
fatal
"
$arch
arch is not supported"
;;
esac
PKGURL
=
$(
epm tool eget
--list
--latest
https://github.com/mattermost/desktop/releases
$(
epm print constructname
$PKGNAME
"
$VERSION
*"
$arch
"deb"
))
||
fatal
"Can't get package URL"
epm
install
--repack
"
$PKGURL
"
repack.d/mattermost-desktop.sh
0 → 100755
View file @
4e871542
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTDIR
=
/opt/Mattermost
.
$(
dirname
$0
)
/common.sh
add_electron_deps
add_bin_link_command
fix_chrome_sandbox
fix_desktop_file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment