pycharm-community-eap.guncellendi

This commit is contained in:
milisbir 2018-10-05 14:00:31 +03:00
parent a13d065f58
commit c96864a255
2 changed files with 41 additions and 42 deletions

View File

@ -0,0 +1,41 @@
# 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"
cp -R "$SRC/pycharm-community-*/"* "$PKG/opt/$isim"
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
}

View File

@ -1,42 +0,0 @@
# Tanım: Profesyonel Geliştiriciler için Python IDE
# URL: http://www.jetbrains.com/pycharm/
# Paketçi: Oltulu
# Gerekler: giflib glibc openjdk freefont-ttf python3-setuptools python-setuptools
# Grup: geliştirme
isim=pycharm
surum=2017.3.1
devir=1
kaynak=(https://download.jetbrains.com/python/pycharm-community-${surum}.tar.gz)
derle() {
cd pycharm-community-${surum}
python helpers/pydev/setup_cython.py build_ext --inplace
python3 helpers/pydev/setup_cython.py build_ext --inplace
rm -rf bin/fsnotifier{,-arm} lib/libpty/linux/x86
# Başlatıcı
mkdir -pv $PKG/usr/share/applications &&
cat > $PKG/usr/share/applications/$isim.desktop << "EOF" &&
[Desktop Entry]
Version=1.0
Type=Application
Name=PyCharm Topluluk Sürümü
Comment=Profesyonel Geliştiriciler için Python IDE
Exec=/usr/bin/pycharm %f
Icon=pycharm
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-pycharm-ce
Categories=Development;IDE;Python;
EOF
install -dm 755 "${PKG}"/usr/{bin,share/{applications,doc,licenses,pixmaps,pycharm}}
cp -dr --no-preserve='ownership' bin helpers lib plugins "${PKG}"/usr/share/pycharm/
cp -dr --no-preserve='ownership' help "${PKG}"/usr/share/doc/pycharm/
cp -dr --no-preserve='ownership' license "${PKG}"/usr/share/licenses/pycharm/
ln -s /usr/share/pycharm/bin/pycharm.sh $PKG/usr/bin/pycharm
ln -s /usr/share/pycharm/bin/pycharm.png "${PKG}"/usr/share/pixmaps/
}