diff --git a/PKGBUILD b/PKGBUILD index ff2f261..ddd6c00 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: Andrew Shark pkgname=pycharm-professional -pkgver=2024.1.4 +pkgver=2024.2 pkgrel=1 pkgdesc="Python IDE for Professional Developers. Professional Edition" arch=('x86_64' 'x86_64_v3' 'aarch64') @@ -32,9 +32,9 @@ source_x86_64_v3=($source_x86_64) source_aarch64=("https://download-cf.jetbrains.com/python/${pkgname}-${pkgver}-aarch64.tar.gz") sha256sums=('6ff245b42b475a5b97c359d97bc48d573c2988170fc195073c9187d5abe1c576' '21e9d192712fb537d9e5abccc54970becb347b32ad2be469a35b2585f45a9116') -sha256sums_x86_64=('3a12ada098a839ba3c32820071ecc04cb71e8e1066d0753397399c2e52941de9') -sha256sums_x86_64_v3=('3a12ada098a839ba3c32820071ecc04cb71e8e1066d0753397399c2e52941de9') -sha256sums_aarch64=('a90c657a333e1825c934d524cb426115c85d19d7aebfa4a149fda5062be29fab') +sha256sums_x86_64=('433614ddf391fa208f65684ff511ade2d79a87de995699b6a3c6837c27b03b27') +sha256sums_x86_64_v3=('433614ddf391fa208f65684ff511ade2d79a87de995699b6a3c6837c27b03b27') +sha256sums_aarch64=('2af60f9229b77e2682bf3daa29d18b88598b98cfb1a42d2e739c86388f31c821') # makedepends=('python-setuptools' 'cython') optdepends=( 'ipython: For enhanced interactive Python shell inside Pycharm' @@ -57,7 +57,7 @@ fi prepare() { # clean up for PyDev debugger - find pycharm-${pkgver}/plugins/python/helpers/pydev/ \( -name *.so -o -name *.pyd -o -name *.dll \) -delete + find pycharm-${pkgver}/plugins/python-ce/helpers/pydev/ \( -name *.so -o -name *.pyd -o -name *.dll \) -delete } package() { @@ -75,11 +75,8 @@ 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" - # 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-professional" + ln -s "/opt/${pkgname}/bin/pycharm" "${pkgdir}/usr/bin/pycharm-professional" ln -s "/opt/${pkgname}/bin/ltedit.sh" "${pkgdir}/usr/bin/ltedit-professional" } diff --git a/pycharm-professional_aarch64.install b/pycharm-professional_aarch64.install index 95d7ca7..7fadb8b 100644 --- a/pycharm-professional_aarch64.install +++ b/pycharm-professional_aarch64.install @@ -1,14 +1,14 @@ post_install() { echo ":: Building Cython speed-ups" # compile PyDev debugger used by PyCharm to speedup debugging - python /opt/pycharm-professional/plugins/python/helpers/pydev/setup_cython.py build_ext --inplace --force-cython + python /opt/pycharm-professional/plugins/python-ce/helpers/pydev/setup_cython.py build_ext --inplace --force-cython # for attach debugger - pushd /opt/pycharm-professional/plugins/python/helpers/pydev/pydevd_attach_to_process/linux_and_mac + pushd /opt/pycharm-professional/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/linux_and_mac g++ -march=armv8-a+crypto -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp popd - rm -rf /opt/pycharm-professional/plugins/python/helpers/pydev/build + rm -rf /opt/pycharm-professional/plugins/python-ce/helpers/pydev/build echo ":: Cython speed-ups done" } diff --git a/pycharm-professional_x86_64.install b/pycharm-professional_x86_64.install index b410c12..450bac9 100644 --- a/pycharm-professional_x86_64.install +++ b/pycharm-professional_x86_64.install @@ -1,14 +1,14 @@ post_install() { echo ":: Building Cython speed-ups" # compile PyDev debugger used by PyCharm to speedup debugging - python /opt/pycharm-professional/plugins/python/helpers/pydev/setup_cython.py build_ext --inplace --force-cython + python /opt/pycharm-professional/plugins/python-ce/helpers/pydev/setup_cython.py build_ext --inplace --force-cython # for attach debugger - pushd /opt/pycharm-professional/plugins/python/helpers/pydev/pydevd_attach_to_process/linux_and_mac + pushd /opt/pycharm-professional/plugins/python-ce/helpers/pydev/pydevd_attach_to_process/linux_and_mac g++ -m64 -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp popd - rm -rf /opt/pycharm-professional/plugins/python/helpers/pydev/build + rm -rf /opt/pycharm-professional/plugins/python-ce/helpers/pydev/build echo ":: Cython speed-ups done" }