intellij-idea-ultimate-edition: update to 2021.2.3.

This commit is contained in:
Anton Afanasyev 2021-04-07 22:50:49 -07:00 committed by Érico Nogueira Rolim
parent 85fa298583
commit 778f626760

View file

@ -1,16 +1,17 @@
# Template file for 'intellij-idea-ultimate-edition'
pkgname=intellij-idea-ultimate-edition
version=2021.2.1
version=2021.2.3
revision=1
archs="i686 x86_64"
wrksrc="idea-IU-212.5080.55"
create_wrksrc="true"
depends="giflib libXtst jetbrains-jdk-bin"
short_desc="Most intelligent Java IDE"
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
license="custom:Commercial"
homepage="https://www.jetbrains.com/idea"
distfiles="https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz"
checksum=9cf405e13bb25768050779a6fd923021ba1cee7f559253ad6ecb0f985a52a788
_filename="ideaIU-${version}-no-jbr.tar.gz"
distfiles="https://download.jetbrains.com/idea/${_filename}"
checksum=0d879d4b16f096b81f401e0ab76a8b565d8142c632f9667cdb7fe5e6bd9813b4
repository=nonfree
restricted=yes
nopie=yes
@ -18,39 +19,50 @@ nopie=yes
noverifyrdeps=yes
python_version=3
do_extract() {
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_filename} --strip-components=1 -C .
}
post_extract() {
# Remove files for other OSes
rm -rf plugins/webp/lib/libwebp/win
rm -rf plugins/webp/lib/libwebp/mac
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/maven/lib/maven3/lib/jansi-native/freebsd64
rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd32
rm -rf plugins/maven/lib/maven3/lib/jansi-native/osx
rm -rf plugins/maven/lib/maven3/lib/jansi-native/windows32
rm -rf plugins/maven/lib/maven3/lib/jansi-native/windows64
rm -rf plugins/cwm-plugin/quiche-native/win32-x86-64
rm -rf plugins/cwm-plugin/quiche-native/darwin-aarch64
rm -rf plugins/cwm-plugin/quiche-native/darwin-x86-64
rm -rf **/*.dll
rm -rf **/*.dylib
rm -rf plugins/performanceTesting/bin/libyjpagent.dylib
rm -rf plugins/performanceTesting/bin/yjpagent.dll
rm -rf plugins/performanceTesting/bin/yjpagent64.dll
rm -rf plugins/webp/lib/libwebp/mac
rm -rf plugins/webp/lib/libwebp/win
# Remove files for other CPU architectures
rm -rf lib/pty4j-native/linux/ppc64le
rm -rf bin/fsnotifier-arm
rm -rf lib/pty4j-native/linux/aarch64
rm -rf lib/pty4j-native/linux/mips64el
rm -rf lib/pty4j-native/linux/arm
rm -rf lib/pty4j-native/linux/mips64el
rm -rf lib/pty4j-native/linux/ppc64le
case "$XBPS_TARGET_MACHINE" in
x86_64)
rm -rf plugins/webp/lib/libwebp/linux/libwebp_jni.so
rm -rf bin/idea.vmoptions
rm -rf lib/pty4j-native/linux/x86
rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
rm -rf plugins/maven/lib/maven3/lib/jansi-native/linux32
rm -rf plugins/performanceTesting/bin/libyjpagent.so
rm -rf plugins/webp/lib/libwebp/linux/libwebp_jni.so
;;
i686)
rm -rf plugins/webp/lib/libwebp/linux/libwebp_jni64.so
rm -rf lib/pty4j-native/linux/x86-64
rm -rf bin/idea64.vmoptions
rm -rf bin/libyjpagent-linux64.so
rm -rf lib/pty4j-native/linux/x86_64
rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
rm -rf plugins/maven/lib/maven3/lib/jansi-native/linux64
rm -rf plugins/performanceTesting/bin/libyjpagent64.so
rm -rf plugins/webp/lib/libwebp/linux/libwebp_jni64.so
;;
esac
}