mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
SUMMARY="Intellij IDEA Community Edition"
|
|
DESCRIPTION="A Java Integrated Development Environment to develop computer \
|
|
software."
|
|
HOMEPAGE="https://www.jetbrains.com/idea/"
|
|
COPYRIGHT="2025 JetBrains s.r.o."
|
|
LICENSE="Apache v2"
|
|
REVISION="1"
|
|
buildVersion="243.26053.27"
|
|
SOURCE_URI="https://download.jetbrains.com/idea/ideaIC-$portVersion.tar.gz#noarchive"
|
|
CHECKSUM_SHA256="8a287528d830e6cdec2ded13c974c39a35b7555243c22d8b83113c96c26630aa"
|
|
ADDITIONAL_FILES="IntelliJ_IDEA_Logo.hvif"
|
|
|
|
ARCHITECTURES="any"
|
|
DISABLE_SOURCE_PACKAGE="true"
|
|
|
|
PROVIDES="
|
|
idea_community_bin = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
java:environment == 17
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
tar xvf ideaIC-$portVersion.tar.gz -C $appsDir
|
|
mv $appsDir/idea-IC-$buildVersion $appsDir/idea
|
|
rm -rvf $appsDir/idea/jbr
|
|
cat << EOF > $appsDir/idea/idea.sh
|
|
#!/bin/sh -l
|
|
export PATH=\$JDK17_HOME/bin:\$PATH
|
|
$appsDir/idea/bin/idea.sh &
|
|
EOF
|
|
chmod 755 $appsDir/idea/idea.sh
|
|
|
|
addattr -t icon -f $portDir/additional-files/IntelliJ_IDEA_Logo.hvif \
|
|
"BEOS:ICON" "$appsDir/idea/idea.sh"
|
|
addAppDeskbarSymlink $appsDir/idea/idea.sh 'IDEA IntelliJ CE'
|
|
}
|