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
4632ad49
Commit
4632ad49
authored
Nov 06, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add onlyoffice support
parent
156f7d4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
onlyoffice.sh
prescription.d/onlyoffice.sh
+28
-0
onlyoffice-desktopeditors.sh
repack.d/onlyoffice-desktopeditors.sh
+12
-0
No files found.
prescription.d/onlyoffice.sh
0 → 100755
View file @
4632ad49
#!/bin/sh
# TODO: common place
fatal
()
{
echo
"FATAL:
$*
"
>
&2
exit
1
}
PKGNAME
=
onlyoffice-desktopeditors
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
exit
fi
[
"
$1
"
!=
"--run"
]
&&
echo
"Install ONLYOFFICE for Linux from the official site"
&&
exit
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
#arch=$($DISTRVENDOR --distro-arch)
arch
=
amd64
#pkgtype=$($DISTRVENDOR -p)
pkgtype
=
deb
PKG
=
"https://download.onlyoffice.com/install/desktop/editors/linux/
$(
epm print constructname
$PKGNAME
""
$arch
deb
)
"
epm
install
"
$PKG
"
repack.d/onlyoffice-desktopeditors.sh
0 → 100755
View file @
4632ad49
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
# TODO: required libreoffice-opensymbol-fonts
# $ rpm -qf /usr/lib64/LibreOffice/share/fonts/truetype/opens___.ttf
#LibreOffice-common-7.0.1.2-alt1.0.p9.x86_64
REQUIRES
=
"fonts-ttf-liberation, fonts-ttf-dejavu"
subst
"s|^
\(
Name: .*
\)
$|
# Converted from original package requires
\n
Requires:
$REQUIRES
\n\1
|g"
$SPEC
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