fix the path of the binary in Pycharm Light Edit launcher
This commit is contained in:
parent
0e6f715f1b
commit
e43779ee7c
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
||||
pkgbase = pycharm-professional
|
||||
pkgdesc = Python IDE for Professional Developers. Professional Edition
|
||||
pkgver = 2024.2
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://www.jetbrains.com/pycharm/
|
||||
install = pycharm-professional_x86_64.install
|
||||
arch = x86_64
|
||||
|
5
PKGBUILD
5
PKGBUILD
@ -5,7 +5,7 @@
|
||||
|
||||
pkgname=pycharm-professional
|
||||
pkgver=2024.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Python IDE for Professional Developers. Professional Edition"
|
||||
arch=('x86_64' 'x86_64_v3' 'aarch64')
|
||||
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.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
|
||||
install -dm 755 "${pkgdir}/usr/bin/"
|
||||
ln -s "/opt/${pkgname}/bin/pycharm" "${pkgdir}/usr/bin/pycharm-professional"
|
||||
|
Loading…
x
Reference in New Issue
Block a user