New package: pycharm-community-2017-3-3

Closes: #12149 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Felix Van der Jeugt 2018-03-05 11:00:05 +01:00 committed by Jürgen Buchmüller
parent 6cc135cae6
commit 0bb6806867
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# Template file for 'pycharm-community'
pkgname=pycharm-community
version=2017.3.3
revision=1
depends="virtual?java-environment giflib libXtst"
short_desc="Python integrated development environment"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@gmail.com>"
license="Apache-2.0"
homepage="https://www.jetbrains.org/"
distfiles="https://download-cf.jetbrains.com/python/${pkgname}-${version}.tar.gz"
checksum=7974700acf1a16e45f8d92adb13dd6460323e3ada58d92064d4d18ef28ba37c9
repository=nonfree
nopie=yes
only_for_archs="i686 x86_64"
do_install() {
vmkdir usr/bin
vmkdir usr/share/doc/pycharm
vmkdir usr/share/pycharm
mv -v bin lib plugins helpers ${DESTDIR}/usr/share/pycharm
mv -v license ${DESTDIR}/usr/share/doc/pycharm
rm -vf ${DESTDIR}/usr/share/pycharm/bin/fsnotifier-arm
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
rm -vf ${DESTDIR}/usr/share/pycharm/bin/fsnotifier
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so
rm -vf ${DESTDIR}/usr/share/pycharm/lib/libpty/linux/x86/libpty.so
else
rm -vf ${DESTDIR}/usr/share/pycharm/bin/fsnotifier64
rm -vf ${DESTDIR}/usr/share/pycharm/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so
rm -vf ${DESTDIR}/usr/share/pycharm/lib/libpty/linux/x86_64/libpty.so
fi
ln -sf /usr/share/pycharm/bin/pycharm.sh ${DESTDIR}/usr/bin/pycharm
}