On Fri, Aug 28, 2009 at 03:31:53AM +0200, hollunder(a)gmx.at wrote:
It will never be run from there, the user is the
packager in the sense
that the user runs the script and thus creates the package that he can
install afterwards. We, as packagers, just write a part of the script,
the user can modify this script to her liking or just run it, which in
turn builds the binaries and creates the package on the users system.
Sorry if we were unclear about that, but we were talking about AUR,
the arch user repository where only scripts are supplied that help the
user to build a package. AUR doesn't provide binaries as such (except
for rare cases). The same scripts are used for the official
repositories but there they provide binaries and the scripts are
optional.
I hope it's somewhat clearer now, sorry for the confusion.
Yes, thanks.
I'm perfectly willing to prefix $(DESTDIR) to any install directories
if that is all that's required.
But while I can clearly see the use and even necessity for $DESTIR
for someone who is creating a binary package from a source package
(without having to really install that package locally), what on
earth is the purpose of forcing someone who installs from source
to go via such an intermediate step ? If the Makefile provides a
working 'make install' why complicate it ? And more pertinently,
how am I supposed to provide support for users who do such things ?
If I release a source package, and someone has a problem compiling
or installing it, I'd be happy to help. But not if the installation
procedure has been modified for no good reason - I could probably
go along with some changes, but where does that end ?
The web page about $DESTDIR you pointed says that one of the uses
would be to allow a user without root privileges to install in
some local dir (s)he has access to. But it contradicts that same
use by declaring that 'embedded file names will not be modified'.
Which in some cases will mean that the application will not run.
To install into a e.g. a home directory a user would have to modify
$PREFIX, not $DESTDIR.
Ciao,
--
FA
Io lo dico sempre: l'Italia รจ troppo stretta e lunga.