This commit is contained in:
milisbir 2018-07-14 01:19:59 +03:00
parent f69f7c45ca
commit b7af42f5db
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=IntelliJ IDEA Topluluk Sürümü
Comment=Develop with pleasure!
Exec=idea.sh %f
Icon=idea
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-idea-ce
Categories=Development;IDE;Java;

View File

@ -0,0 +1,5 @@
#!/bin/sh
if [ -z "$IDEA_JDK" ] ; then
IDEA_JDK="/usr/lib/jvm/java-8-openjdk/"
fi
exec env IDEA_JDK=$IDEA_JDK /usr/share/intellijidea-ce/bin/idea.sh $@

View File

@ -0,0 +1,33 @@
# Tanım: Gelişmiş refactoring özellikleriyle Java, Groovy ve diğer programlama dilleri için IDE
# URL: https://www.jetbrains.com/idea/
# Paketçi: Cihan_Alkan
# Gerekler: openjdk giflib xorg-libxtst xorg-libxft
# Grup: geliştirme
isim=intellij-idea-community-edition
surum=2018.1.6
_surum=181.5540.7
devir=1
kaynak=(https://download.jetbrains.com/idea/ideaIC-${surum}-no-jdk.tar.gz
idea.desktop
idea.sh)
derle() {
install -d -m755 "$PKG/"usr/share
cp -a "idea-IC-$_surum" "$PKG"/usr/share/intellijidea-ce
# make sure that all files are owned by root
chown -R root:root "$PKG/usr/share"
install -d -m755 "$PKG"/usr/bin
install -D -m755 "$SRC"/idea.sh "$PKG"/usr/bin/idea.sh
install -D -m644 "$SRC"/idea.desktop "$PKG"/usr/share/applications/idea.desktop
install -D -m644 "$PKG"/usr/share/intellijidea-ce/bin/idea.png \
"$PKG"/usr/share/pixmaps/idea.png
# workaround FS#40934
sed -i 's|lcd|on|' "$PKG"/usr/share/intellijidea-ce/bin/*.vmoptions
}