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
3057e5e2
Commit
3057e5e2
authored
Jul 24, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add 1c-connect
parent
6ab4ce50
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
0 deletions
+69
-0
1c-connect.sh
pack.d/1c-connect.sh
+23
-0
1c-connect.sh
play.d/1c-connect.sh
+13
-0
1c-connect.sh
repack.d/1c-connect.sh
+33
-0
No files found.
pack.d/1c-connect.sh
0 → 100755
View file @
3057e5e2
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
echo
"
$TAR
"
|
grep
-q
"1C-Connect-Linux-x64.tar.gz"
||
fatal
"Use only for 1C-Connect-Linux-x64.tar.gz."
mkdir
opt
erc unpack
$TAR
||
fatal
mv
1C-Connect-Linux-x64.tar opt/
$PRODUCT
echo
"true"
>
./opt/
$PRODUCT
/app/bin/updater
VERSION
=
"
$(
grep
version_name opt/
$PRODUCT
/dist.json |
sed
-e
's|",.*||'
-e
's|.*"||'
)
"
[
-n
"
$VERSION
"
]
||
fatal
"Can't get version from dist.json file."
PKGNAME
=
$PRODUCT
-
$VERSION
erc a
$PKGNAME
.tar opt
return_tar
$PKGNAME
.tar
play.d/1c-connect.sh
0 → 100755
View file @
3057e5e2
#!/bin/sh
PKGNAME
=
1c-connect
SUPPORTEDARCHES
=
"x86_64"
#VERSION="$2"
# is not supported
DESCRIPTION
=
"1C Connect — Service & Help desk со встроенным удалённым доступом и мессенджером"
URL
=
"https://1c-connect.com"
.
$(
dirname
$0
)
/common.sh
PKGURL
=
"https://updates.1c-connect.com/desktop/distribs/1C-Connect-Linux-x64.tar.gz"
epm pack
--install
$PKGNAME
"
$PKGURL
"
repack.d/1c-connect.sh
0 → 100755
View file @
3057e5e2
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
# installing from tar, so we need fill some fields here
subst
"s|^Group:.*|Group: Office|"
$SPEC
subst
"s|^License: unknown
$|
License: Proprietary|"
$SPEC
subst
"s|^URL:.*|URL: https://1c-connect.com/|"
$SPEC
subst
"s|^Summary:.*|Summary: 1C Connect|"
$SPEC
add_bin_cdexec_command
$PRODUCT
$PRODUCTDIR
/app/bin/connect
install_file
$PRODUCTDIR
/app/bin/ico-app.png /usr/share/pixmaps/
$PRODUCT
.png
# create desktop file
mkdir
-p
$BUILDROOT
/usr/share/applications/
cat
<<
EOF
>
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Name=1C Connect
Comment=1C Connect
Exec=
$PRODUCT
-- %u
Icon=
$PRODUCT
Type=Application
Categories=Network;
X-GNOME-UsesNotifications=true
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
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