talimat 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Tanım: Güçlü Python ve Django IDE Topluluk sürümü.
  2. # URL: http://www.jetbrains.com/pycharm/
  3. # Paketçi: Oguzhan_DUYAR
  4. # Gerekler: giflib glibc openjdk freefont-ttf python3-setuptools
  5. # Grup: geliştirme
  6. isim=pycharm-community-eap
  7. surum=2018.3.183.2940.3
  8. devir=1
  9. kaynak=(https://download.jetbrains.com/python/pycharm-community-183.2940.3.tar.gz)
  10. derle()
  11. {
  12. cat >"$SRC/$isim.desktop" <<-EOF
  13. [Desktop Entry]
  14. Version=$surum
  15. Type=Application
  16. Name=PyCharm Community EAP
  17. Exec="/opt/$isim/bin/pycharm.sh" %f
  18. Icon=pycharm
  19. Comment=Güçlü Python ve Django IDE Topluluk sürümü.
  20. Categories=Development;IDE;
  21. Terminal=false
  22. StartupNotify=true
  23. StartupWMClass=jetbrains-pycharm-ce
  24. EOF
  25. cd "$SRC"
  26. mkdir -p "$PKG/opt/$isim"
  27. cp -R "$SRC/pycharm-community-183.2940.3/"* "$PKG/opt/$isim"
  28. local vmoptfile=pycharm64
  29. echo $'-Dawt.useSystemAAFontSettings=on\n-Dswing.aatext=true' >>"$PKG/opt/$isim/bin/$vmoptfile.vmoptions"
  30. mkdir -p "$PKG/usr/bin/"
  31. ln -s "/opt/$isim/bin/pycharm.sh" "$PKG/usr/bin/pycharm-eap"
  32. mkdir -p "$PKG/usr/share/pixmaps"
  33. ln -s "/opt/$isim/bin/pycharm.png" "$PKG/usr/share/pixmaps/pycharm.png"
  34. install -Dm755 "$SRC/$isim.desktop" "$PKG/usr/share/applications/$isim.desktop"
  35. rm -rf $PKG/usr/share/doc
  36. }