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
9586f6eb
Commit
9586f6eb
authored
Jul 26, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add idea-community
parent
3a866926
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
70 additions
and
0 deletions
+70
-0
idea-community.sh
play.d/idea-community.sh
+14
-0
ideaIC.sh
repack.d/ideaIC.sh
+54
-0
ideaIU.sh
repack.d/ideaIU.sh
+2
-0
No files found.
play.d/idea-community.sh
0 → 100755
View file @
9586f6eb
#!/bin/sh
PKGNAME
=
ideaIC
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"IntelliJ IDEA Community Edition - The Leading Java and Kotlin IDE from the official site"
URL
=
"https://www.jetbrains.com/idea/"
.
$(
dirname
$0
)
/common-jetbrains.sh
PKGURL
=
"
$(
get_jetbrains_pkgurl IIC idea
)
"
epm
install
$PKGURL
repack.d/ideaIC.sh
0 → 100755
View file @
9586f6eb
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
idea
PRODUCTCUR
=
idea-IC
.
$(
dirname
$0
)
/common.sh
subst
'1iConflicts: ideaIU'
$SPEC
subst
"s|^Group:.*|Group: Development/Tools|"
$SPEC
#subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst
"s|^URL:.*|URL: https://www.jetbrains.com/idea/|"
$SPEC
subst
"s|^Summary:.*|Summary: IntelliJ IDEA Community Edition – the Leading Java and Kotlin IDE|"
$SPEC
move_to_opt
"/
$PRODUCTCUR
-*"
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/bin/
$PRODUCT
.sh
add_bin_link_command
$PRODUCTCUR
$PRODUCT
# create desktop file
mkdir
-p
$BUILDROOT
/usr/share/applications/
cat
<<
EOF
>
$BUILDROOT
/usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=IntelliJ IDEA Community Edition
Comment=The Leading Java and Kotlin IDE
Exec=
$PRODUCT
%f
Icon=
$PRODUCT
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-idea
Categories=Development;IDE
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
mkdir
-p
$BUILDROOT
/usr/share/pixmaps
install_file
$PRODUCTDIR
/bin/
$PRODUCT
.png /usr/share/pixmaps/
install_file
$PRODUCTDIR
/bin/
$PRODUCT
.svg /usr/share/pixmaps/
# 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/
repack.d/ideaIU.sh
View file @
9586f6eb
...
...
@@ -9,6 +9,8 @@ PRODUCTCUR=idea-IU
.
$(
dirname
$0
)
/common.sh
subst
'1iConflicts: ideaIU'
$SPEC
subst
"s|^Group:.*|Group: Development/Tools|"
$SPEC
#subst "s|^License: unknown$|License: GPLv2|" $SPEC
subst
"s|^URL:.*|URL: https://www.jetbrains.com/idea/|"
$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