[arch-commits] Commit in intellij-idea-community-edition/repos (4 files)
Levente Polyak
anthraxx at archlinux.org
Sun Apr 12 16:28:14 UTC 2020
Date: Sunday, April 12, 2020 @ 16:28:13
Author: anthraxx
Revision: 613432
archrelease: copy trunk to community-testing-x86_64
Added:
intellij-idea-community-edition/repos/community-testing-x86_64/
intellij-idea-community-edition/repos/community-testing-x86_64/PKGBUILD
(from rev 613431, intellij-idea-community-edition/trunk/PKGBUILD)
intellij-idea-community-edition/repos/community-testing-x86_64/idea.desktop
(from rev 613431, intellij-idea-community-edition/trunk/idea.desktop)
intellij-idea-community-edition/repos/community-testing-x86_64/idea.sh
(from rev 613431, intellij-idea-community-edition/trunk/idea.sh)
--------------+
PKGBUILD | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
idea.desktop | 11 ++++++++
idea.sh | 11 ++++++++
3 files changed, 92 insertions(+)
Copied: intellij-idea-community-edition/repos/community-testing-x86_64/PKGBUILD (from rev 613431, intellij-idea-community-edition/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-04-12 16:28:13 UTC (rev 613432)
@@ -0,0 +1,70 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=intellij-idea-community-edition
+pkgver=2020.1
+_build=201.6668.121
+pkgrel=1
+epoch=2
+pkgdesc='IDE for Java, Groovy and other programming languages with advanced refactoring features'
+url='https://www.jetbrains.com/idea/'
+arch=('x86_64')
+license=('Apache')
+backup=('usr/share/idea/bin/idea.vmoptions'
+ 'usr/share/idea/bin/idea64.vmoptions')
+depends=('giflib' 'java-environment=11' 'python' 'sh' 'ttf-font' 'libdbusmenu-glib')
+makedepends=('ant' 'git' 'java8-openjfx' 'java-environment=8')
+source=("git+https://github.com/JetBrains/intellij-community.git#tag=idea/${_build}"
+ idea-android::"git+https://github.com/JetBrains/android#tag=idea/${_build}"
+ idea-adt-tools-base::"git://git.jetbrains.org/idea/adt-tools-base.git#tag=idea/${_build}"
+ idea.desktop
+ idea.sh)
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ '049c4326b6b784da0c698cf62262b591b20abb52e0dcf869f869c0c655f3ce93'
+ '5d4f998bec3249165b0e62b5e51e9b7fbe383bb9f1178ffefe070f2c9872eebb')
+
+prepare() {
+ cd intellij-community
+
+ # build system doesn't like symlinks
+ mv "${srcdir}"/idea-android android
+ mv "${srcdir}"/idea-adt-tools-base android/tools-base
+
+ sed '/def targetOs =/c def targetOs = "linux"' -i build/dependencies/setupJbre.gradle
+ sed '/String targetOS/c String targetOS = OS_LINUX' -i platform/build-scripts/groovy/org/jetbrains/intellij/build/BuildOptions.groovy
+ sed -E 's|(<sysproperty key="jna.nosys")|<sysproperty key="intellij.build.target.os" value="linux" />\1|' -i build.xml
+ sed -E 's/-Xmx[0-9]+m/-XX:-UseGCOverheadLimit/' -i build.xml
+ echo ${_build} > build.txt
+}
+
+build() {
+ cd intellij-community
+ unset _JAVA_OPTIONS
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
+ export PATH="${JAVA_HOME}/bin:${PATH}"
+ ant build
+ tar -xf out/idea-ce/artifacts/ideaIC-${_build}-no-jbr.tar.gz -C "${srcdir}"
+}
+
+package() {
+ cd idea-IC-${_build}
+
+ # workaround FS#40934
+ sed -i 's/lcd/on/' bin/*.vmoptions
+
+ rm -rf bin/fsnotifier-arm lib/libpty/linux/x86
+
+ install -dm 755 "${pkgdir}"/usr/share/{licenses,pixmaps,idea,icons/hicolor/scalable/apps}
+ cp -dr --no-preserve='ownership' bin lib plugins redist "${pkgdir}"/usr/share/idea/
+ cp -dr --no-preserve='ownership' license "${pkgdir}"/usr/share/licenses/idea
+ ln -s /usr/share/idea/bin/idea.png "${pkgdir}"/usr/share/pixmaps/
+ ln -s /usr/share/idea/bin/idea.svg "${pkgdir}"/usr/share/icons/hicolor/scalable/apps/
+ install -Dm 644 ../idea.desktop -t "${pkgdir}"/usr/share/applications/
+ install -Dm 755 ../idea.sh "${pkgdir}"/usr/bin/idea
+ install -Dm 644 build.txt -t "${pkgdir}"/usr/share/idea
+}
+
+# vim: ts=2 sw=2 et:
Copied: intellij-idea-community-edition/repos/community-testing-x86_64/idea.desktop (from rev 613431, intellij-idea-community-edition/trunk/idea.desktop)
===================================================================
--- community-testing-x86_64/idea.desktop (rev 0)
+++ community-testing-x86_64/idea.desktop 2020-04-12 16:28:13 UTC (rev 613432)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=IntelliJ IDEA Community Edition
+Comment=Develop with pleasure!
+Exec=/usr/bin/idea %f
+Icon=idea
+Terminal=false
+StartupNotify=true
+StartupWMClass=jetbrains-idea-ce
+Categories=Development;IDE;Java;
Copied: intellij-idea-community-edition/repos/community-testing-x86_64/idea.sh (from rev 613431, intellij-idea-community-edition/trunk/idea.sh)
===================================================================
--- community-testing-x86_64/idea.sh (rev 0)
+++ community-testing-x86_64/idea.sh 2020-04-12 16:28:13 UTC (rev 613432)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# WARNING:
+# Running IntelliJ IDEA with java other than java 11
+# may cause various problems, such as Graddle import not working
+if [ -z "$IDEA_JDK" ] ; then
+ IDEA_JDK="/usr/lib/jvm/java-11-openjdk/"
+fi
+exec env IDEA_JDK="$IDEA_JDK" /usr/share/idea/bin/idea.sh "$@"
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list