2
0

fix the path of the binary in Pycharm Light Edit launcher

This commit is contained in:
Xavier C. Llano 2024-08-12 17:30:39 -07:00
parent 0e6f715f1b
commit e43779ee7c
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
pkgbase = pycharm-professional pkgbase = pycharm-professional
pkgdesc = Python IDE for Professional Developers. Professional Edition pkgdesc = Python IDE for Professional Developers. Professional Edition
pkgver = 2024.2 pkgver = 2024.2
pkgrel = 1 pkgrel = 2
url = https://www.jetbrains.com/pycharm/ url = https://www.jetbrains.com/pycharm/
install = pycharm-professional_x86_64.install install = pycharm-professional_x86_64.install
arch = x86_64 arch = x86_64

View File

@ -5,7 +5,7 @@
pkgname=pycharm-professional pkgname=pycharm-professional
pkgver=2024.2 pkgver=2024.2
pkgrel=1 pkgrel=2
pkgdesc="Python IDE for Professional Developers. Professional Edition" pkgdesc="Python IDE for Professional Developers. Professional Edition"
arch=('x86_64' 'x86_64_v3' 'aarch64') arch=('x86_64' 'x86_64_v3' 'aarch64')
url='https://www.jetbrains.com/pycharm/' url='https://www.jetbrains.com/pycharm/'
@ -75,6 +75,9 @@ package() {
install -Dm 644 "${pkgdir}/opt/${pkgname}/bin/pycharm.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/pycharm-professional.png" install -Dm 644 "${pkgdir}/opt/${pkgname}/bin/pycharm.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/pycharm-professional.png"
install -Dm 644 "${pkgdir}/opt/${pkgname}/bin/pycharm.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/pycharm-professional.svg" install -Dm 644 "${pkgdir}/opt/${pkgname}/bin/pycharm.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/pycharm-professional.svg"
# fix the path of the binary in Pycharm Light Edit launcher
sed -i "s/pycharm.sh/pycharm/g" "${pkgdir}/opt/${pkgname}/bin/ltedit.sh"
# exec # exec
install -dm 755 "${pkgdir}/usr/bin/" install -dm 755 "${pkgdir}/usr/bin/"
ln -s "/opt/${pkgname}/bin/pycharm" "${pkgdir}/usr/bin/pycharm-professional" ln -s "/opt/${pkgname}/bin/pycharm" "${pkgdir}/usr/bin/pycharm-professional"