From 50a03e81610228615de12ac5b67a976fb0e333f5 Mon Sep 17 00:00:00 2001 From: Anton Afanasyev <1157248+2asoft@users.noreply.github.com> Date: Sat, 7 Aug 2021 23:45:02 -0700 Subject: [PATCH] GoLand: update to 2021.2. --- srcpkgs/GoLand/template | 45 ++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/srcpkgs/GoLand/template b/srcpkgs/GoLand/template index 898701d61f84..8226f7247a51 100644 --- a/srcpkgs/GoLand/template +++ b/srcpkgs/GoLand/template @@ -1,46 +1,55 @@ # Template file for 'GoLand' pkgname=GoLand -version=2021.1.3 +version=2021.2 revision=1 -archs="i686 x86_64" +archs="x86_64 aarch64" depends="jetbrains-jdk-bin" short_desc="Cross-platform IDE built specially for Go developers" maintainer="Anton Afanasyev " license="custom:Commercial" homepage="https://www.jetbrains.com/go" distfiles="https://download.jetbrains.com/go/goland-${version}.tar.gz" -checksum=ade387550e79a8e4cdd31cfbdef5f344f30d2c4e005144a44e95cdb1419ac977 +checksum=485fa8b1f8feb09866559a43243c32ffaccb400f441d1bd31364e84778cafd96 repository=nonfree restricted=yes nopie=yes python_version=3 post_extract() { - # Remove files for other CPU architectures - rm -rf lib/pty4j-native/linux/aarch64 - rm -rf lib/pty4j-native/linux/mips64el - rm -rf lib/pty4j-native/linux/ppc64le - - # Remove files for other OSes + # Remove files for other OSes and/or CPU architectures + # Darwin (this is not packaged for macOS) rm -rf plugins/cwm-plugin/quiche-native/darwin-aarch64 rm -rf plugins/cwm-plugin/quiche-native/darwin-x86-64 + rm -rf plugins/performanceTesting/bin/libyjpagent.dylib + rm -rf plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_x86.dylib + rm -rf plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_x86_64.dylib + # Windows (this is not packaged for Windows) rm -rf plugins/cwm-plugin/quiche-native/win32-x86-64 rm -rf plugins/performanceTesting/bin/yjpagent.dll rm -rf plugins/performanceTesting/bin/yjpagent64.dll - rm -rf plugins/performanceTesting/bin/libyjpagent.dylib + rm -rf plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_amd64.dll + rm -rf plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_x86.dll + # x86 (unsupported after v2021.1) + rm -rf bin/goland.vmoptions + rm -rf lib/pty4j-native/linux/x86 + rm -rf plugins/performanceTesting/bin/libyjpagent.so + rm -rf plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so + # MIPS + rm -rf lib/pty4j-native/linux/mips64el + # ARM + rm -rf lib/pty4j-native/linux/arm + # PPC + rm -rf lib/pty4j-native/linux/ppc64le + case "$XBPS_TARGET_MACHINE" in x86_64) - rm -rf bin/fsnotifier - rm -rf bin/goland.vmoptions - rm -rf lib/pty4j-native/linux/x86 - rm -rf plugins/performanceTesting/bin/libyjpagent.so + rm -rf lib/pty4j-native/linux/aarch64 ;; - i686) - rm -rf bin/fsnotifier64 - rm -rf bin/goland64.vmoptions - rm -rf lib/pty4j-native/linux/x86_64 + aarch64) + rm -rf lib/pty4j-native/linux/x86-64 rm -rf plugins/performanceTesting/bin/libyjpagent64.so + rm -rf plugins/python-ce/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so ;; esac }