You are not logged in.

#1 2012-10-11 00:27:31

Registered: 2012-10-11
Posts: 1

PKGBUILD for an application with a hard coded path


I was about to make a nice AUR package for an application I use (the Elance work tracker) and I had a few details I needed to clear up. This package is pretty easy to install and all of the deps are available in the aur, but I would like a more convenient way.

It seems to best/only work using the java6 packages in AUR. These install in opt
It has a hard coded dependency on java being at /usr/bin/java

I want to become a more active contributor to the AUR as I have a home build directory with a bunch of stuff I compile and use myself and would love to contribute these with PKGBUILDs. I just want to know how this situation is normally handled and make sure I use the proper etiquette.

Thanks very much for your attention.



#2 2012-10-11 12:41:36

From: Netherlands, Europe
Registered: 2005-10-04
Posts: 6,057

Re: PKGBUILD for an application with a hard coded path

lrwxrwxrwx 1 root root         40 Sep 15 10:25 java -> /usr/lib/jvm/java-7-openjdk/jre/bin/java

/usr/bin/java is a symlink on my system, check if the java6 package changes that symlink .
If so, the hard coded dependency on /usr/bin/java is no problem.

Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them


Board footer

Powered by FluxBB