mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +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="2018 JetBrains s.r.o."
|
|
LICENSE="Apache v2"
|
|
REVISION="1"
|
|
buildVersion="183.4588.61"
|
|
SOURCE_URI="https://download.jetbrains.com/idea/ideaIC-$portVersion-no-jdk.tar.gz#noarchive"
|
|
CHECKSUM_SHA256="c6bd74e4280c3cf850fd6953a47e0e91ffb882b3b0ca25de12ac745f65a5d3e3"
|
|
ADDITIONAL_FILES="IntelliJ_IDEA_Logo.hvif"
|
|
|
|
ARCHITECTURES="any"
|
|
DISABLE_SOURCE_PACKAGE="true"
|
|
|
|
PROVIDES="
|
|
idea_community_bin = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
java:environment == 8
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
tar xvf ideaIC-$portVersion-no-jdk.tar.gz -C $appsDir
|
|
mv $appsDir/idea-IC-$buildVersion $appsDir/idea
|
|
|
|
cat << EOF > $appsDir/idea/idea.sh
|
|
#!/bin/sh -l
|
|
export PATH=\$JDK8_HOME/bin:\$PATH
|
|
exec $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'
|
|
}
|