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
e55ac122
Commit
e55ac122
authored
1 year ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play r7-office: update for support new versions
parent
97c67f45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
r7-office.sh
play.d/r7-office.sh
+19
-9
No files found.
play.d/r7-office.sh
View file @
e55ac122
...
...
@@ -4,34 +4,44 @@ PKGNAME=r7-office
SKIPREPACK
=
1
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"R7 Office for Linux from the official site"
URL
=
"https://r7-office.ru/"
.
$(
dirname
$0
)
/common.sh
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r7-office
URLBASE
=
"https://r7-office.ru/download_editor"
#[ "$VERSION" = "*" ]
# $ eget -U --list "https://r7-office.ru/download_editor" "*.rpm"
# $ eget -U --list "https://r7-office.ru/download_editor" "*.deb"
case
$(
epm print info
-e
)
in
AstraLinux
*
|
Debian/
*
)
PKG
=
"https://download.r7-office.ru/astra/r7-office
.deb"
mask
=
"astra/*
.deb"
;;
Ubuntu/
*
)
PKG
=
"https://download.r7-office.ru/ubuntu/r7-office
.deb"
mask
=
"ubuntu/*
.deb"
;;
RedOS/
*
|
AlterOS/
*
)
PKG
=
"https://download.r7-office.ru/redos/r7-office
.rpm"
mask
=
"centos/*
.rpm"
;;
AlterOS/
*
|
CentOS/
*
)
PKG
=
"https://download.r7-office.ru/centos/r7-office.rpm"
ROSA/7.9
)
mask
=
"rosa/cobalt/
$PKGNAME
-*.rpm"
;;
ROSA/
*
)
mask
=
"rosa/
$PKGNAME
-*.rpm"
;;
ALTLinux/
*
)
PKG
=
"https://download.r7-office.ru/altlinux/r7-office.rpm"
epm
install
--skip-installed
fonts-ttf-dejavu fonts-ttf-google-crosextra-carlito fonts-ttf-liberation gst-libav gst-plugins-ugly1.0 libX11 libXScrnSaver libcairo libgcc1 libgtk+2 libgtkglext
mask
=
"altlinux/*.rpm"
;;
*
)
fatal
"Unsupported distro
$(
epm print info
-e
)
. Ask application vendor for a support."
;;
esac
PKGURL
=
"
$(
epm tool eget
--list
--latest
-U
"
$URLBASE
"
"
$mask
"
)
"
# install with scripts (need for install icons and associations)
# see /etc/eepm/pkgallowscripts.list
# TODO: pack it into the package
epm
install
"
$PKG
"
epm
install
"
$PKG
URL
"
This diff is collapsed.
Click to expand it.
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