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
805b80c1
Commit
805b80c1
authored
Mar 31, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: cleanup rudesktop download and repacking
parent
e5067dcb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
11 deletions
+45
-11
rudesktop.sh
play.d/rudesktop.sh
+22
-11
rudesktop.sh
repack.d/rudesktop.sh
+23
-0
No files found.
play.d/rudesktop.sh
View file @
805b80c1
...
...
@@ -6,26 +6,28 @@ VERSION="$2"
DESCRIPTION
=
"RuDesktop for Linux from the official site"
URL
=
"https://rudesktop.ru/"
# change installed package name
pkgname
=
"
$PKGNAME
"
repack
=
''
# FIXME: uses global epm
# change package name (like on the site)
case
"
$(
epm print info
-s
)
"
in
astra
)
PKGNAME
=
rudesktop-astra
;;
alt
)
pkgname
=
rudesktop-alt
repack
=
'--repack'
;;
osnova
)
PKGNAME
=
rudesktop-astra
pkgname
=
rudesktop-osnova
;;
esac
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
repack
=
''
# change package name for downloading
case
"
$(
epm print info
-s
)
"
in
alt
)
PKGNAME
=
rudesktop-alt
repack
=
'--repack'
;;
esac
case
"
$(
epm print info
-p
)
"
in
rpm
)
pkgtype
=
rpm
...
...
@@ -36,4 +38,13 @@ case "$(epm print info -p)" in
esac
PKGURL
=
"https://rudesktop.ru/download/
$PKGNAME
-amd64.
$pkgtype
"
epm
install
$repack
$PKGURL
epm
install
$repack
$PKGURL
||
exit
echo
echo
"Note: run
# serv
$PKGNAME
on
to enable and start
$PKGNAME
system service
Use
/usr/bin/rudesktop --rendezvous DOMAIN
to set the domain if needed.
"
repack.d/rudesktop.sh
0 → 100755
View file @
805b80c1
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
ORIGINPACKAGE
=
"
$4
"
.
$(
dirname
$0
)
/common.sh
# follow original requires
reqs
=
"
$(
epm requires
"
$ORIGINPACKAGE
"
)
"
[
-n
"
$reqs
"
]
&&
add_requires
$reqs
# ??
# echo "root ALL=(ALL) NOPASSWD:SETENV:/usr/bin/rudesktop" > /etc/sudoers.d/rudesktop
install_file usr/share/rudesktop-client/files/rudesktop.service /etc/systemd/system/rudesktop.service
install_file usr/share/rudesktop-client/files/rudesktop.desktop /usr/share/applications/rudesktop.desktop
#xdg-mime default rudesktop.desktop x-scheme-handler/rudesktop || true
subst
"s|^Summary:.*|Summary: A remote control software.|"
$SPEC
\ No newline at end of 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