pycharm-community-jre: auto updated to 2023.1-1
This commit is contained in:
parent
ba348bbc8b
commit
651d4a53c2
41
repo/pycharm-community-jre/PKGBUILD
Normal file
41
repo/pycharm-community-jre/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# Maintainer: Philip May <eniak.info@gmail.com>
|
||||||
|
pkgname=pycharm-community-jre
|
||||||
|
_appname=pycharm-community
|
||||||
|
pkgver=2023.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="PyCharm Community Edition IDE for Python with bundled JRE"
|
||||||
|
arch=(x86_64)
|
||||||
|
url="https://www.jetbrains.com/pycharm/"
|
||||||
|
license=('APACHE')
|
||||||
|
conflicts=(
|
||||||
|
"pycharm-community-eap"
|
||||||
|
"pycharm-community-edition"
|
||||||
|
)
|
||||||
|
source=(
|
||||||
|
"https://download.jetbrains.com/python/pycharm-community-${pkgver}.tar.gz"
|
||||||
|
pycharm.desktop
|
||||||
|
pycharm.sh
|
||||||
|
)
|
||||||
|
noextract=()
|
||||||
|
sha256sums=(
|
||||||
|
'e8e9ed964ef8a397ad920ccaad41b30c3f29a2e125e7a5c4be50db791099e068'
|
||||||
|
'f727119ec7c8b96820e80712b1ee342de6a94ff72402e8f2d390cbff702f9b21'
|
||||||
|
'b6f0518e59c4744ded38de63efba91205bcba406fa74944a1f3a8937566d8acc'
|
||||||
|
)
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${_appname}-${pkgver}"
|
||||||
|
|
||||||
|
# workaround FS#40934
|
||||||
|
# see https://bugs.archlinux.org/task/40934
|
||||||
|
sed -i 's/lcd/on/' bin/*.vmoptions
|
||||||
|
|
||||||
|
rm -rf bin/fsnotifier-arm
|
||||||
|
|
||||||
|
install -dm 755 "${pkgdir}"/usr/share/{licenses,pixmaps,pycharm}
|
||||||
|
cp -dr --no-preserve='ownership' bin jbr lib plugins "${pkgdir}"/usr/share/pycharm/
|
||||||
|
cp -dr --no-preserve='ownership' license "${pkgdir}"/usr/share/licenses/pycharm/
|
||||||
|
ln -s /usr/share/pycharm/bin/pycharm.png "${pkgdir}"/usr/share/pixmaps/
|
||||||
|
install -Dm 644 ../pycharm.desktop -t "${pkgdir}"/usr/share/applications/
|
||||||
|
install -Dm 755 ../pycharm.sh "${pkgdir}"/usr/bin/pycharm
|
||||||
|
}
|
11
repo/pycharm-community-jre/pycharm.desktop
Normal file
11
repo/pycharm-community-jre/pycharm.desktop
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=PyCharm Community Edition
|
||||||
|
Comment=Python IDE for Professional Developers
|
||||||
|
Exec=/usr/bin/pycharm %f
|
||||||
|
Icon=pycharm
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=jetbrains-pycharm-ce
|
||||||
|
Categories=Development;IDE;Python;
|
8
repo/pycharm-community-jre/pycharm.sh
Normal file
8
repo/pycharm-community-jre/pycharm.sh
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -z "$PYCHARM_JDK" ] ; then
|
||||||
|
PYCHARM_JDK="/usr/share/pycharm/jbr/"
|
||||||
|
fi
|
||||||
|
exec env PYCHARM_JDK="$PYCHARM_JDK" /usr/share/pycharm/bin/pycharm.sh "$@"
|
||||||
|
|
||||||
|
# vim: ts=2 sw=2 et:
|
Loading…
Reference in a new issue