On Wed, 30 Mar 2005 13:57:37 +0200
J�rgen H�tzel <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> i just started using arch. And i really like. Not only because of
> KISS. I
> 
> Wouldn't it be nice to predefine the build function. Many packages
> just copy the predefined build function. This would reduce code
> duplication. Here's a patch. 
> 
> The gentoo guys also split the packaging process into 
> src_{unpack,compile,install}. When the build function in arch is
> splited up and predefined this could allow further reduction of code
> duplication.
> 
There are also a lot of packages that, not only copy the generic function -
instead they sed/patch code, source config files, export paths etc.

To introduce predefined functions would produce some kind of our own
scripting (wrapper) language where bash/shell does the job much better,
since you will to have define new subroutines for the tweaks. Or you mix
up your own function with shell commands, and this is IMHO very "dirty"

just my 2c,
-neri

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to