intellij-idea-community-edition: removing unvendored desktop file
This commit is contained in:
parent
0bf362b6e0
commit
e3a442d1de
2 changed files with 14 additions and 10 deletions
|
@ -1,8 +0,0 @@
|
||||||
[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,7 +1,7 @@
|
||||||
# Template file for 'intellij-idea-community-edition'
|
# Template file for 'intellij-idea-community-edition'
|
||||||
pkgname=intellij-idea-community-edition
|
pkgname=intellij-idea-community-edition
|
||||||
version=2024.1.2
|
version=2024.1.2
|
||||||
revision=1
|
revision=2
|
||||||
archs="x86_64"
|
archs="x86_64"
|
||||||
depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
|
depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
|
||||||
short_desc="Java integrated development environment by JetBrains"
|
short_desc="Java integrated development environment by JetBrains"
|
||||||
|
@ -15,6 +15,18 @@ nopie=yes
|
||||||
python_version=3
|
python_version=3
|
||||||
skiprdeps="/usr/lib/intellij-idea/plugins/Kotlin/bin/linux/LLDBFrontend"
|
skiprdeps="/usr/lib/intellij-idea/plugins/Kotlin/bin/linux/LLDBFrontend"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
bsdtar xf lib/app-client.jar entry.desktop
|
||||||
|
}
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
vsed -i -e 's/\$NAME\$/IntelliJ IDEA Community Edition/' entry.desktop
|
||||||
|
vsed -i -e 's/\$ICON\$/idea/' entry.desktop
|
||||||
|
vsed -i -e 's/\$SCRIPT\$/idea/' entry.desktop
|
||||||
|
vsed -i -e 's/\$COMMENT\$/Capable and Ergonomic IDE for JVM/' entry.desktop
|
||||||
|
vsed -i -e 's/\$WM_CLASS\$/jetbrains-idea/' entry.desktop
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
vmkdir usr/share/doc/intellij-idea
|
vmkdir usr/share/doc/intellij-idea
|
||||||
|
@ -45,5 +57,5 @@ do_install() {
|
||||||
ln -sf /usr/lib/intellij-idea/bin/idea.sh ${DESTDIR}/usr/bin/idea
|
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.png ${DESTDIR}/usr/share/pixmaps
|
||||||
ln -sf /usr/lib/intellij-idea/bin/idea.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
|
ln -sf /usr/lib/intellij-idea/bin/idea.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps
|
||||||
vinstall ${FILESDIR}/idea.desktop 644 usr/share/applications
|
vinstall entry.desktop 644 usr/share/applications idea.desktop
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue