Interactive PKGBUILD

view full story

https://bbs.archlinux.org – Thanks for your replies. So no interaction it will be.The package I am thinking about is supposed to install itself in the JRE directory (java). Some configuration have a JAVA_HOME variable set, which allows the PKGBUILD to decide for the user, but some do not have it. One could even have different JREs installed (openjdk-6 and openjdk-7 for instance).Perhaps the solution is to split the package into several specialized packages (one for openjdk-6, one for openjdk-7) plus one general-purpose package trying to install itself using the JAVA_HOME environment variable.I could display an error mess (HowTos)