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
Vladislav
eepm
Commits
e82b1159
Commit
e82b1159
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add epm play jetbrains-toolbox
parent
f7acc6a5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
0 deletions
+44
-0
jetbrains-toolbox.sh
play.d/jetbrains-toolbox.sh
+19
-0
jetbrains-toolbox.sh
repack.d/jetbrains-toolbox.sh
+25
-0
No files found.
play.d/jetbrains-toolbox.sh
0 → 100755
View file @
e82b1159
#!/bin/sh
PKGNAME
=
jetbrains-toolbox
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"JetBrains Toolbox App from the official site"
.
$(
dirname
$0
)
/common.sh
# https://github.com/nagygergo/jetbrains-toolbox-install/blob/master/jetbrains-toolbox.sh
URL
=
$(
epm tool eget
-O-
"https://data.services.jetbrains.com/products?code=TBA&release.type=eap%2Crc%2Crelease&fields=distributions%2Clink%2Cname%2Creleases"
| epm
--inscript
tool json
-b
|
grep
'0,"releases",0,"downloads","linux","link"'
|
sed
-e
's|.*[[:space:]]||'
)
#https://download.jetbrains.com/toolbox/jetbrains-toolbox-1.25.12627.tar.gz
# eval for drop quotes
eval
epm
install
$URL
echo
echo
"Run jetbrains-toolbox under user to install."
This diff is collapsed.
Click to expand it.
repack.d/jetbrains-toolbox.sh
0 → 100755
View file @
e82b1159
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
jetbrains-toolbox
PRODUCTCUR
=
jetbrains-toolbox
PRODUCTDIR
=
/opt/
$PRODUCTCUR
.
$(
dirname
$0
)
/common.sh
subst
"s|^Group:.*|Group: Development/C|"
$SPEC
#subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst
"s|^URL:.*|URL: https://www.jetbrains.com/ru-ru/toolbox-app/|"
$SPEC
subst
"s|^Summary:.*|Summary: JetBrains Toolbox App|"
$SPEC
move_to_opt
"/
$PRODUCT
-*"
add_bin_link_command
$PRODUCT
subst
'1iAutoProv:no'
$SPEC
# ldd: ERROR: /tmp/jetbrains-toolbox-1.25.12627/jetbrains-toolbox: failed to find the program interpreter
subst
'1iAutoReq:no'
$SPEC
exit
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