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
4997ef57
Commit
4997ef57
authored
Feb 26, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add synology-chat support
parent
8851247d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
synology-chat.sh
play.d/synology-chat.sh
+21
-0
chat.sh
repack.d/chat.sh
+26
-0
No files found.
play.d/synology-chat.sh
0 → 100755
View file @
4997ef57
#!/bin/sh
PKGNAME
=
synology-chat
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
'Synology Chat Client from the official site'
.
$(
dirname
$0
)
/common.sh
urldir
=
"
$(
epm tool eget
--list
https://archive.synology.com/download/Utility/ChatClient
'/[0-9]*'
|
head
-n1
)
"
[
-n
"
$urldir
"
]
||
exit
# use temp dir
PKGDIR
=
"
$(
mktemp
-d
)
"
trap
"rm -fr
$PKGDIR
"
EXIT
cd
$PKGDIR
||
fatal
# fix spaces in the package name
epm tool eget
-O
$PKGNAME
.deb
"
$urldir
/Synology*.deb"
epm
install
$PKGNAME
.deb
repack.d/chat.sh
0 → 100755
View file @
4997ef57
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
# TODO: write developers about broken package name
PKGNAME
=
"synology-chat"
subst
"s|^Name:.*|Name:
$PKGNAME
|"
$SPEC
PRODUCT
=
synochat
PRODUCTCUR
=
synology-chat
PRODUCTDIR
=
"/opt/Synology/SynologyChat"
.
$(
dirname
$0
)
/common-chromium-browser.sh
# many side effects due the space
move_to_opt
"/opt/Synology Chat"
subst
"s|/opt/Synology Chat/||"
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
add_bin_link_command
add_bin_link_command
$PRODUCTCUR
$PRODUCT
install_deps
fix_chrome_sandbox
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