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="2020 JetBrains s.r.o."
|
|
LICENSE="Apache v2"
|
|
REVISION="1"
|
|
buildVersion="201.7223.91"
|
|
SOURCE_URI="https://download.jetbrains.com/idea/ideaIC-$portVersion-no-jbr.tar.gz#noarchive"
|
|
CHECKSUM_SHA256="d6e1e0c3dcc74b912b2b5e121da0a65e793fb82426195c46929c06874959d2c5"
|
|
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-jbr.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'
|
|
}
|