2
0

Fix permission in chrome-sandbox

This commit is contained in:
Xavier C. Llano 2023-12-11 19:44:28 -05:00
parent ad87d66092
commit 6fc652381f

View File

@ -3,7 +3,7 @@
pkgname=pycharm-professional
pkgver=2023.3
pkgrel=1
pkgrel=2
pkgdesc="Python IDE for Professional Developers. Professional Edition"
arch=('x86_64' 'aarch64')
url='https://www.jetbrains.com/pycharm/'
@ -60,6 +60,9 @@ package() {
install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/pycharm.png"
install -Dm 644 "$pkgdir/opt/$pkgname/bin/pycharm.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/pycharm.svg"
# issue https://youtrack.jetbrains.com/issue/IDEA-313202
chmod 4755 "$pkgdir/opt/pycharm-professional/jbr/lib/chrome-sandbox"
# exec
install -dm 755 "$pkgdir/usr/bin/"
ln -s "/opt/$pkgname/bin/pycharm.sh" "$pkgdir/usr/bin/pycharm"