diff options
author | Joielechong <juansspy@gmail.com> | 2022-12-08 21:20:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-08 21:20:33 +0700 |
commit | be86048911399666d48f9e6e757b8a805fa7d887 (patch) | |
tree | 4b74ca4f3f4e77ae65358b749f0537f52ead87a3 /development/goland | |
parent | d14b89d555fd4b389c0affe3b2399c6d9bc550b8 (diff) |
development/goland: Updated for version 2022.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/goland')
-rw-r--r-- | development/goland/README | 5 | ||||
-rw-r--r-- | development/goland/goland.SlackBuild | 31 | ||||
-rw-r--r-- | development/goland/goland.info | 10 | ||||
-rw-r--r-- | development/goland/slack-desc | 4 |
4 files changed, 19 insertions, 31 deletions
diff --git a/development/goland/README b/development/goland/README index 802e8363a19df..1cabc39a3cf1c 100644 --- a/development/goland/README +++ b/development/goland/README @@ -1,7 +1,4 @@ -A Go IDE with extended support for JavaScript, TypeScript, -and databases. - GoLand is an IDE by JetBrains aimed at providing an ergonomic environment for Go development. -GoLand is a cross-platform IDE built specially for Go developers. +GoLand is a cross-platform IDE built specially for Go developers diff --git a/development/goland/goland.SlackBuild b/development/goland/goland.SlackBuild index 908f2b3143958..4813dc6da9a3e 100644 --- a/development/goland/goland.SlackBuild +++ b/development/goland/goland.SlackBuild @@ -8,12 +8,11 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=goland ARCNAM=goland -VERSION=${VERSION:-2022.2.1} +VERSION=${VERSION:-2022.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} - -ARCH=${ARCH:-noarch} +ARCH=${ARCH:-x86_64} # 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 @@ -42,28 +41,13 @@ find -L . \ mv * $PRGNAM -mkdir -p $PKG/etc/profile.d -cat << EOF > $PKG/etc/profile.d/$PRGNAM.sh -#!/bin/sh -export GOLAND_HOME=/opt/goland -export GOLAND_JDK=$JAVA_HOME -export PATH=\$PATH:\$GOLAND_HOME/bin -EOF -cat << EOF > $PKG/etc/profile.d/$PRGNAM.csh -#!/bin/csh -setenv GOLAND_HOME /opt/goland -setenv GOLAND_JDK $JAVA_HOME -setenv PATH \$PATH:\$GOLAND_HOME/bin -EOF -chmod 755 $PKG/etc/profile.d/* - mkdir -p $PKG/usr/share/applications cat << EOF > $PKG/usr/share/applications/$PRGNAM.desktop [Desktop Entry] Version=1.0 Type=Application Path=/opt/$PRGNAM -Exec=$PRGNAM.sh %f +Exec=/opt/$PRGNAM/bin/$PRGNAM.sh %f Name=GoLand: A Clever IDE to Go by JetBrains GenericName=GoLand Comment= @@ -71,12 +55,19 @@ Icon=$PRGNAM StartupNotify=true Categories=Development;IDE; Terminal=false -StartupWMClass=jetbrains-goland EOF install -D -m 0644 $PKG/opt/$PRGNAM/bin/$PRGNAM.png \ $PKG/usr/share/pixmaps/$PRGNAM.png +mkdir -p $PKG/usr/bin +cat << EOF > $PKG/usr/bin/$PRGNAM +#!/bin/sh +cd \$HOME +/opt/$PRGNAM/bin/$PRGNAM.sh \$@ +EOF +chmod 0755 $PKG/usr/bin/$PRGNAM + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/development/goland/goland.info b/development/goland/goland.info index 770e9c8a199ae..8f98b9ef48dd1 100644 --- a/development/goland/goland.info +++ b/development/goland/goland.info @@ -1,10 +1,10 @@ PRGNAM="goland" -VERSION="2022.2.1" +VERSION="2022.3" HOMEPAGE="https://www.jetbrains.com/go/" -DOWNLOAD="https://download-cdn.jetbrains.com/go/goland-2022.2.1.tar.gz" -MD5SUM="5b765fa4d280f407eacc878b843a1dbb" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://download-cdn.jetbrains.com/go/goland-2022.3.tar.gz" +MD5SUM_x86_64="d0cf7c839974451fb9614d46f9683162" REQUIRES="zulu-openjdk11" MAINTAINER="Joielechong" EMAIL="juansspy@gmail.com" diff --git a/development/goland/slack-desc b/development/goland/slack-desc index eaa51422812d8..a51ffd942ddfc 100644 --- a/development/goland/slack-desc +++ b/development/goland/slack-desc @@ -8,6 +8,8 @@ |-----handy-ruler------------------------------------------------------| goland: goland (Development IDE) goland: +goland: A Go IDE with extended support for JavaScript, TypeScript, and +goland: databases. goland: GoLand is a cross-platform IDE built specially for Go developers goland: GoLand is an IDE by JetBrains aimed at providing an ergonomic goland: environment for Go development. @@ -15,5 +17,3 @@ goland: goland: goland: goland: -goland: -goland: |