You are not logged in.

#1 2015-10-03 00:03:31

seanmceligot
Member
Registered: 2014-02-27
Posts: 5

need help with a java package

I took over this package that was abandoned.

https://aur.archlinux.org/packages/thinkorswim/

I'd like to make it better, but I'm not familiar enough with arch packaging. It's an install4j shell script installer. It runs on java 7, not 6, not 8.

Right now it runs the interactive installer. I'd like to change that and run

./thinkorswim_installer.sh -q /opt/thinkorswim

That would install it automatically without user intervention.

and

/opt/thinkorswim/uninstall -q

to remove it.

I'd also like to add a shell script in /usr/bin/thinkorswim

#! /bin/sh
PATH=/usr/lib/jvm/java-7-jre/jre/bin:${PATH}
export PATH
JAVA_HOME=/usr/lib/jvm/java-7-jre/jre
export JAVA_HOME
/opt/thinkorswim/thinkorswim &

Can someone help? Thanks.

Offline

#2 2015-10-10 16:55:45

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: need help with a java package

Do not package this crap. I does not want to be packaged., and there is no point in packaging it. It wants you to accept some license agreement, and so there is not point in system wide installation - and thats what PKGBUILDS are for - anyway.

Offline

#3 2015-10-26 02:03:21

uberscientist
Member
Registered: 2012-01-27
Posts: 84

Re: need help with a java package

I'm interested in thinkorswim, but Stefan can you explain why it doesn't want to be packaged?

Offline

#4 2015-10-26 19:01:39

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: need help with a java package

I think I already wrote the reasons in my previous post. The installer shows up with some EULA and wants you as a user to accept it on a user basis. That makes a system wide package useless. The administrator who is not interested in the package, may have read it, but does not want to use the software. The user, who wants to use it, normally does not have the permissions to install it via pacman. So all what is left is a per-user-installation into the user's home directory. And for that  there already is an installer.

Offline

Board footer

Powered by FluxBB