pycharm.pkt
This commit is contained in:
parent
e5cee49e34
commit
f6d22426b5
|
@ -0,0 +1,42 @@
|
|||
# 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/
|
||||
|
||||
}
|
Loading…
Reference in New Issue