New package: RubyMine-2019.1.2
This commit is contained in:
parent
b83ec252e9
commit
1a2d09e6d7
3 changed files with 72 additions and 0 deletions
2
srcpkgs/RubyMine/INSTALL.msg
Normal file
2
srcpkgs/RubyMine/INSTALL.msg
Normal file
|
@ -0,0 +1,2 @@
|
|||
RubyMine has the following optional dependencies:
|
||||
libdbusmenu-glib: For global menu support
|
68
srcpkgs/RubyMine/template
Normal file
68
srcpkgs/RubyMine/template
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Template file for 'RubyMine'
|
||||
pkgname=RubyMine
|
||||
version=2019.1.2
|
||||
revision=1
|
||||
archs="i686 x86_64"
|
||||
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=db60a07098d3fec4e72bcbd5e5c48638983e20817e41c3f83266733f2d8a0cfe
|
||||
repository=nonfree
|
||||
restricted=yes
|
||||
nopie=yes
|
||||
|
||||
post_extract() {
|
||||
# Remove files for other CPU architectures
|
||||
rm -rf bin/fsnotifier-arm
|
||||
rm -rf lib/pty4j-native/linux/ppc64le
|
||||
|
||||
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
|
||||
;;
|
||||
i686)
|
||||
rm -rf bin/fsnotifier64
|
||||
rm -rf bin/rubymine64.vmoptions
|
||||
rm -rf bin/libyjpagent-linux64.so
|
||||
rm -rf lib/pty4j-native/linux/x86_64
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
do_install() {
|
||||
TARGET_PATH="usr/lib/${pkgname}"
|
||||
LICENSE_PATH="usr/share/licenses/${pkgname}"
|
||||
|
||||
vmkdir usr/bin
|
||||
vmkdir ${TARGET_PATH}
|
||||
vmkdir ${LICENSE_PATH}
|
||||
|
||||
# Ideally vlicense should be called here, but vcopy is more terse.
|
||||
vcopy license/* ${LICENSE_PATH}
|
||||
|
||||
vcopy bin ${TARGET_PATH}
|
||||
vcopy help ${TARGET_PATH}
|
||||
vcopy lib ${TARGET_PATH}
|
||||
vcopy plugins ${TARGET_PATH}
|
||||
vcopy product-info.json ${TARGET_PATH}
|
||||
vcopy build.txt ${TARGET_PATH}
|
||||
|
||||
vcopy rubystubs18 ${TARGET_PATH}
|
||||
vcopy rubystubs19 ${TARGET_PATH}
|
||||
vcopy rubystubs193 ${TARGET_PATH}
|
||||
vcopy rubystubs20 ${TARGET_PATH}
|
||||
vcopy rubystubs21 ${TARGET_PATH}
|
||||
vcopy rubystubs22 ${TARGET_PATH}
|
||||
vcopy rubystubs23 ${TARGET_PATH}
|
||||
vcopy rubystubs24 ${TARGET_PATH}
|
||||
vcopy rubystubs25 ${TARGET_PATH}
|
||||
vcopy rubystubs26 ${TARGET_PATH}
|
||||
|
||||
ln -sf /${TARGET_PATH}/bin/rubymine.sh ${DESTDIR}/usr/bin/${pkgname}
|
||||
}
|
2
srcpkgs/RubyMine/update
Normal file
2
srcpkgs/RubyMine/update
Normal file
|
@ -0,0 +1,2 @@
|
|||
pattern="RubyMine-\K[\d.]+(?=\.tar)"
|
||||
site="https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release"
|
Loading…
Add table
Add a link
Reference in a new issue