diff options
Diffstat (limited to 'development/pycharm/pycharm.SlackBuild')
-rw-r--r-- | development/pycharm/pycharm.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/development/pycharm/pycharm.SlackBuild b/development/pycharm/pycharm.SlackBuild index 357ebd0f4c..029a050d7b 100644 --- a/development/pycharm/pycharm.SlackBuild +++ b/development/pycharm/pycharm.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pycharm -# Copyright 2015-2021 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2015-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pycharm EDITION=community -VERSION=${VERSION:-2021.2} +VERSION=${VERSION:-2023.3.5.233.15026.15} +SRCVER=$( echo $VERSION | cut -c1-8 ) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,9 +65,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$EDITION-$VERSION -tar xvf $CWD/$PRGNAM-$EDITION-$VERSION.tar.gz -cd $PRGNAM-$EDITION-$VERSION +rm -rf $PRGNAM-$EDITION-$SRCVER +tar xvf $CWD/$PRGNAM-$EDITION-$SRCVER.tar.gz +cd $PRGNAM-$EDITION-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -78,9 +79,6 @@ find -L . \ mkdir -p $PKG/opt/$PRGNAM cp -rf * $PKG/opt/$PRGNAM -# Remove unused -rm -rf $PKG/opt/$PRGNAM/lib/libpty/win $PKG/opt/$PRGNAM/lib/libpty/macosx - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |