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
50b6d867
Commit
50b6d867
authored
May 08, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add DataGrip
parent
d04c938b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
0 deletions
+61
-0
datagrip.sh
play.d/datagrip.sh
+13
-0
datagrip.sh
repack.d/datagrip.sh
+48
-0
No files found.
play.d/datagrip.sh
0 → 100755
View file @
50b6d867
#!/bin/sh
PKGNAME
=
datagrip
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"DataGrip - A powerful cross-platform tool for relational and NoSQL databases"
URL
=
"https://www.jetbrains.com/datagrip/"
.
$(
dirname
$0
)
/common-jetbrains.sh
PKGURL
=
"
$(
get_jetbrains_pkgurl DG datagrip
)
"
install_pkgurl
repack.d/datagrip.sh
0 → 100755
View file @
50b6d867
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
datagrip
PRODUCTCUR
=
DataGrip
.
$(
dirname
$0
)
/common.sh
subst
"s|^Group:.*|Group: Development/Tools|"
$SPEC
#subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst
"s|^URL:.*|URL: https://www.jetbrains.com/datagrip/|"
$SPEC
subst
"s|^Summary:.*|Summary: DataGrip - A powerful cross-platform tool for relational and NoSQL databases|"
$SPEC
move_to_opt
"/
$PRODUCTCUR
-*"
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/bin/
$PRODUCT
.sh
add_bin_link_command
$PRODUCTCUR
$PRODUCT
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=DataGrip
Comment=A powerful cross-platform tool for relational and NoSQL databases
Exec=
$PRODUCT
%f
Icon=
$PRODUCT
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-datagrip
Categories=Development;IDE
EOF
install_file
$PRODUCTDIR
/bin/
$PRODUCT
.png /usr/share/pixmaps/
$PRODUCT
.png
install_file
$PRODUCTDIR
/bin/
$PRODUCT
.svg /usr/share/pixmaps/
$PRODUCT
.svg
exit
# kind of hack
subst
's|%dir "'
$PRODUCTDIR
'/"||'
$SPEC
subst
's|%dir "'
$PRODUCTDIR
'/bin/"||'
$SPEC
subst
's|%dir "'
$PRODUCTDIR
'/lib/"||'
$SPEC
subst
's|%dir "'
$PRODUCTDIR
'/plugins/"||'
$SPEC
pack_dir
$PRODUCTDIR
/
pack_dir
$PRODUCTDIR
/bin/
pack_dir
$PRODUCTDIR
/lib/
pack_dir
$PRODUCTDIR
/plugins/
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