2018-10-05 13:00:31 +02:00
|
|
|
|
# Tanım: Güçlü Python ve Django IDE Topluluk sürümü.
|
|
|
|
|
# URL: http://www.jetbrains.com/pycharm/
|
|
|
|
|
# Paketçi: Oguzhan_DUYAR
|
|
|
|
|
# Gerekler: giflib glibc openjdk freefont-ttf python3-setuptools
|
|
|
|
|
# Grup: geliştirme
|
|
|
|
|
|
|
|
|
|
isim=pycharm-community-eap
|
|
|
|
|
surum=2018.3.183.2940.3
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=(https://download.jetbrains.com/python/pycharm-community-183.2940.3.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle()
|
|
|
|
|
{
|
|
|
|
|
cat >"$SRC/$isim.desktop" <<-EOF
|
|
|
|
|
[Desktop Entry]
|
|
|
|
|
Version=$surum
|
|
|
|
|
Type=Application
|
|
|
|
|
Name=PyCharm Community EAP
|
|
|
|
|
Exec="/opt/$isim/bin/pycharm.sh" %f
|
|
|
|
|
Icon=pycharm
|
|
|
|
|
Comment=Güçlü Python ve Django IDE Topluluk sürümü.
|
|
|
|
|
Categories=Development;IDE;
|
|
|
|
|
Terminal=false
|
|
|
|
|
StartupNotify=true
|
|
|
|
|
StartupWMClass=jetbrains-pycharm-ce
|
|
|
|
|
EOF
|
|
|
|
|
cd "$SRC"
|
|
|
|
|
mkdir -p "$PKG/opt/$isim"
|
2018-10-05 14:37:59 +02:00
|
|
|
|
cp -R "$SRC/pycharm-community-183.2940.3/"* "$PKG/opt/$isim"
|
2018-10-05 13:00:31 +02:00
|
|
|
|
|
|
|
|
|
local vmoptfile=pycharm64
|
|
|
|
|
echo $'-Dawt.useSystemAAFontSettings=on\n-Dswing.aatext=true' >>"$PKG/opt/$isim/bin/$vmoptfile.vmoptions"
|
|
|
|
|
|
|
|
|
|
mkdir -p "$PKG/usr/bin/"
|
|
|
|
|
ln -s "/opt/$isim/bin/pycharm.sh" "$PKG/usr/bin/pycharm-eap"
|
|
|
|
|
mkdir -p "$PKG/usr/share/pixmaps"
|
|
|
|
|
ln -s "/opt/$isim/bin/pycharm.png" "$PKG/usr/share/pixmaps/pycharm.png"
|
|
|
|
|
install -Dm755 "$SRC/$isim.desktop" "$PKG/usr/share/applications/$isim.desktop"
|
|
|
|
|
rm -rf $PKG/usr/share/doc
|
|
|
|
|
}
|