CLion: update to 2021.2.

This commit is contained in:
Anton Afanasyev 2021-07-28 13:08:46 -07:00 committed by Érico Nogueira Rolim
parent d263ac20b9
commit e3790c1e9e
1 changed files with 15 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'CLion'
pkgname=CLion
version=2021.1.3
version=2021.2
revision=1
archs="i686 x86_64"
wrksrc="clion-${version}"
@ -10,7 +10,7 @@ maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
license="custom:Commercial"
homepage="https://www.jetbrains.com/clion"
distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
checksum=bf2f627bab06fa94b32f205f15a67659a7bb38e078847cb6e3f811098dc13897
checksum=2cabf03c825f15cb9216a936aa20c2caef8a0c3624556292b60f9a25ca22a146
repository=nonfree
restricted=yes
nopie=yes
@ -28,8 +28,19 @@ post_extract() {
# Remove files for other CPU architectures
rm -rf bin/fsnotifier-arm
rm -rf lib/pty4j-native/linux/aarch64
rm -rf lib/pty4j-native/linux/arm
rm -rf lib/pty4j-native/linux/mips64el
rm -rf lib/pty4j-native/linux/ppc64le
rm -rf plugins/cwm-plugin/quiche-native/darwin-aarch64
rm -rf plugins/cwm-plugin/quiche-native/darwin-x86-64
rm -rf plugins/cwm-plugin/quiche-native/win32-x86-64
rm -rf plugins/performanceTesting/bin/libyjpagent.dylib
rm -rf plugins/performanceTesting/bin/yjpagent.dll
rm -rf plugins/performanceTesting/bin/yjpagent64.dll
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
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
case "$XBPS_TARGET_MACHINE" in
x86_64)
@ -37,6 +48,7 @@ post_extract() {
rm -rf bin/clion.vmoptions
rm -rf bin/libyjpagent-linux.so
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
;;
i686)
@ -44,6 +56,7 @@ post_extract() {
rm -rf bin/clion64.vmoptions
rm -rf bin/libyjpagent-linux64.so
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