summaryrefslogtreecommitdiffstats
path: root/development/idea/idea.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/idea/idea.SlackBuild')
-rw-r--r--development/idea/idea.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/development/idea/idea.SlackBuild b/development/idea/idea.SlackBuild
index 4568b8befe..11eabd450d 100644
--- a/development/idea/idea.SlackBuild
+++ b/development/idea/idea.SlackBuild
@@ -8,15 +8,13 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=idea
ARCNAM=ideaIC
-VERSION=${VERSION:-2022.1}
+VERSION=${VERSION:-2023.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-ARCH=${ARCH:-noarch}
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
+ARCH=x86_64
+
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -62,7 +60,7 @@ cat << EOF > $PKG/usr/share/applications/$PRGNAM.desktop
Version=1.0
Type=Application
Path=/opt/$PRGNAM
-Exec=$PRGNAM.sh %f
+Exec=/opt/$PRGNAM/bin/$PRGNAM.sh %f
Name=IntelliJ IDEA Community Edition
GenericName=IntelliJ IDEA
Comment=Develop with pleasure!