intellij-idea-community-edition: add .desktop.
This commit is contained in:
parent
8392904cce
commit
301cc2bb83
2 changed files with 15 additions and 2 deletions
|
@ -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;
|
|
@ -1,9 +1,9 @@
|
|||
# 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"
|
||||
depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
|
||||
short_desc="Java integrated development environment by JetBrains"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="Apache-2.0"
|
||||
|
@ -23,6 +23,8 @@ do_install() {
|
|||
vmkdir usr/bin
|
||||
vmkdir usr/share/doc/intellij-idea
|
||||
vmkdir usr/lib/intellij-idea
|
||||
vmkdir usr/share/pixmaps
|
||||
vmkdir usr/share/icons/hicolor/scalable/apps
|
||||
|
||||
mv bin lib plugins redist product-info.json build.txt ${DESTDIR}/usr/lib/intellij-idea
|
||||
mv LICENSE.txt NOTICE.txt license ${DESTDIR}/usr/share/doc/intellij-idea
|
||||
|
@ -58,4 +60,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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue