From 3be333af9b03f46d71e224ff1ecdc59f7269e8de Mon Sep 17 00:00:00 2001 From: AlexDltg Date: Tue, 5 Jan 2021 13:11:49 +0100 Subject: [PATCH] intellij-idea-community-edition: add .desktop. --- .../intellij-idea-community-edition/files/idea.desktop | 8 ++++++++ srcpkgs/intellij-idea-community-edition/template | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/intellij-idea-community-edition/files/idea.desktop diff --git a/srcpkgs/intellij-idea-community-edition/files/idea.desktop b/srcpkgs/intellij-idea-community-edition/files/idea.desktop new file mode 100644 index 00000000000..5d32e21b019 --- /dev/null +++ b/srcpkgs/intellij-idea-community-edition/files/idea.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=IntelliJ IDEA Community Edition +Comment=Java integrated development environment by JetBrains +Exec=/usr/bin/idea %f +Icon=idea +Terminal=false +Type=Application +Categories=Development; \ No newline at end of file diff --git a/srcpkgs/intellij-idea-community-edition/template b/srcpkgs/intellij-idea-community-edition/template index 8b41709db36..023174f155c 100644 --- a/srcpkgs/intellij-idea-community-edition/template +++ b/srcpkgs/intellij-idea-community-edition/template @@ -1,7 +1,7 @@ # Template file for 'intellij-idea-community-edition' pkgname=intellij-idea-community-edition version=2020.3.1 -revision=1 +revision=2 archs="i686 x86_64" depends="virtual?java-environment giflib libXtst" short_desc="Java integrated development environment by JetBrains" @@ -58,4 +58,7 @@ do_install() { esac ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea + ln -sf /usr/lib/intellij-idea/bin/idea.png ${DESTDIR}/usr/share/pixmaps/ + ln -sf /usr/lib/intellij-idea/bin/idea.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps/ + vinstall ${FILESDIR}/idea.desktop 644 usr/share/applications }