Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions srcpkgs/intellij-idea-community-edition
61 changes: 0 additions & 61 deletions srcpkgs/intellij-idea-community-edition/template

This file was deleted.

2 changes: 0 additions & 2 deletions srcpkgs/intellij-idea-community-edition/update

This file was deleted.

1 change: 1 addition & 0 deletions srcpkgs/intellij-idea-ultimate-edition
1 change: 0 additions & 1 deletion srcpkgs/intellij-idea-ultimate-edition/files/EULA

This file was deleted.

53 changes: 0 additions & 53 deletions srcpkgs/intellij-idea-ultimate-edition/template

This file was deleted.

63 changes: 63 additions & 0 deletions srcpkgs/intellij-idea/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Template file for 'intellij-idea'
pkgname=intellij-idea
version=2026.1.3
revision=1
archs="x86_64"
depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
short_desc="Java integrated development environment by JetBrains"
maintainer="Bnyro <bnyro@tutanota.com>"
license="Apache-2.0"
homepage="https://www.jetbrains.org/"
distfiles="https://download.jetbrains.com/idea/idea-${version}.tar.gz"
checksum="a6f049716da1d09d9e0ec1500c60bf01a5ff8a0fe2419178dd1ff2fdb2b77563"
repository=nonfree
nopie=yes
python_version=3
skiprdeps="/usr/lib/intellij-idea/plugins/Kotlin/bin/linux/LLDBFrontend"
replaces="intellij-idea-community-edition>=0 intellij-idea-ultimate-edition>=0"

post_extract() {
bsdtar xf lib/intellij.platform.ide.impl.jar entry.desktop
}

post_patch() {
vsed -i -e 's/\$NAME\$/IntelliJ IDEA/' entry.desktop
vsed -i -e 's/\$ICON\$/idea/' entry.desktop
vsed -i -e 's/\$SCRIPT\$/\/usr\/bin\/idea/' entry.desktop
vsed -i -e 's/\$COMMENT\$/Capable and Ergonomic IDE for JVM/' entry.desktop
vsed -i -e 's/\$WM_CLASS\$/jetbrains-idea/' entry.desktop
}

do_install() {
vmkdir usr/bin
vmkdir usr/share/doc/intellij-idea
vmkdir usr/lib/intellij-idea
vmkdir usr/share/pixmaps
vmkdir usr/share/icons/hicolor/scalable/apps

mv bin lib plugins product-info.json build.txt jbr ${DESTDIR}/usr/lib/intellij-idea
mv license ${DESTDIR}/usr/share/doc/intellij-idea
rm ${DESTDIR}/usr/lib/intellij-idea/lib/async-profiler/aarch64 -rf
rm ${DESTDIR}/usr/lib/intellij-idea/plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-darwin-* -rf
rm ${DESTDIR}/usr/lib/intellij-idea/plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-windows-* -rf
rm ${DESTDIR}/usr/lib/intellij-idea/plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-arm64 -rf
rm ${DESTDIR}/usr/lib/intellij-idea/plugins/maven/lib/maven3/lib/jansi-native/Windows -rf
rm ${DESTDIR}/usr/lib/intellij-idea/plugins/platform-ijent-impl/ijent-*musl-release -rf
rm ${DESTDIR}/usr/lib/intellij-idea/plugins/webp/lib/libwebp/linux/libwebp_jni.so
ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
ln -sf /usr/lib/intellij-idea/bin/idea.png ${DESTDIR}/usr/share/pixmaps
ln -sf /usr/lib/intellij-idea/bin/idea.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
vinstall entry.desktop 644 usr/share/applications idea.desktop
}
Comment thread
glclaritas marked this conversation as resolved.

intellij-idea-community-edition_package() {
depends="intellij-idea-${version}_${revision}"
short_desc+=" (transitional dummy package)"
metapackage=yes
}

intellij-idea-ultimate-edition_package() {
depends="intellij-idea-${version}_${revision}"
short_desc+=" (transitional dummy package)"
metapackage=yes
}