rubymine: update to 2024.2.0.1
This commit is contained in:
parent
323387158d
commit
93964f8080
|
@ -1,37 +1,50 @@
|
|||
# Template file for 'RubyMine'
|
||||
pkgname=RubyMine
|
||||
version=2020.1.4
|
||||
version=2024.2.0.1
|
||||
revision=1
|
||||
archs="i686 x86_64"
|
||||
depends="jetbrains-jdk-bin"
|
||||
archs="x86_64 aarch64"
|
||||
depends="virtual?java-environment"
|
||||
short_desc="Most intelligent Ruby and Rails IDE"
|
||||
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
|
||||
license="custom:Commercial"
|
||||
homepage="https://www.jetbrains.com/ruby"
|
||||
distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
|
||||
checksum=4b1870adb14073e8bd6757aa4471579b76bea4f07d2eefbfa22ee944a2e6a7c7
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64)
|
||||
distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz"
|
||||
checksum=9e3ca43d2cd0c22b254033c9fea4c54707310a39a2b4b1ff270a480b53fd3518
|
||||
;;
|
||||
|
||||
aarch64)
|
||||
distfiles="https://download.jetbrains.com/ruby/RubyMine-${version}-aarch64.tar.gz"
|
||||
checksum=41f71e86c944ad6d5111402afdd4567387ce6099a3c8000739919dc58199f259
|
||||
;;
|
||||
esac
|
||||
|
||||
repository=nonfree
|
||||
restricted=yes
|
||||
nopie=yes
|
||||
python_version=3
|
||||
|
||||
post_extract() {
|
||||
# Remove files for other CPU architectures
|
||||
rm -rf bin/fsnotifier-arm
|
||||
rm -rf lib/pty4j-native/linux/ppc64le
|
||||
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-windows-amd64.exe
|
||||
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-windows-arm64.exe
|
||||
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-darwin-amd64
|
||||
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-darwin-arm64
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64)
|
||||
rm -rf bin/fsnotifier
|
||||
rm -rf bin/rubymine.vmoptions
|
||||
rm -rf bin/libyjpagent-linux.so
|
||||
rm -rf lib/pty4j-native/linux/x86
|
||||
rm -rf lib/async-profiler/aarch64
|
||||
rm -rf plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release
|
||||
;;
|
||||
i686)
|
||||
rm -rf bin/fsnotifier64
|
||||
rm -rf bin/rubymine64.vmoptions
|
||||
rm -rf bin/libyjpagent-linux64.so
|
||||
rm -rf lib/pty4j-native/linux/x86_64
|
||||
aarch64)
|
||||
rm -rf lib/pty4j/linux/x86_64
|
||||
rm -rf lib/native/linux-x86_64
|
||||
rm -rf lib/async-profiler/amd64
|
||||
rm -rf lib/jna/amd64
|
||||
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-amd64
|
||||
rm -rf plugins/platform-ijent-impl/ijent-x86_64-unknown-linux-musl-release
|
||||
rm -rf plugins/cwm-plugin/quiche-native/linux-x86-64
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
@ -51,7 +64,9 @@ do_install() {
|
|||
sed -i '1 s/$/\nRUBYMINE_JDK=${RUBYMINE_JDK:-${IDEA_JDK}}/' "${launcher_path}"
|
||||
vcopy bin ${TARGET_PATH}
|
||||
vcopy help ${TARGET_PATH}
|
||||
vcopy jbr ${TARGET_PATH}
|
||||
vcopy lib ${TARGET_PATH}
|
||||
vcopy modules ${TARGET_PATH}
|
||||
vcopy plugins ${TARGET_PATH}
|
||||
vcopy product-info.json ${TARGET_PATH}
|
||||
vcopy build.txt ${TARGET_PATH}
|
||||
|
|
Loading…
Reference in New Issue