[pacman-dev] makepkg patch - simple pkg class feature

Aaron Griffin aaronmgriffin at gmail.com
Wed Jan 16 18:36:42 EST 2008


On Jan 13, 2008 8:51 PM, Travis Willard <travis at archlinux.org> wrote:
> I just wanted to throw this out there - this feature in general is
> straying away from the simplicity of PKGBUILDs.
>
> Can anyone give me a compelling reason why Dan's suggested
> implementation of this feature is any better than just doing the
> following:
>
> build () {
>     source $startdir/src/perl.build;
>
>     pre_build();
>     perl_build();
>     post_build();
> }
>
> Which, to me, is a ton clearer about what exactly is going on than
> some seemingly random variable in the sea of PKGBUILD options called
> 'buildlib=perl.build'.
>
> It feels too much like featuritis, and hiding stuff from the users, in
> any of the implementations suggested.

Nicely done, nicely done. I always said that "source" is our
equivalent of an "eclass". This is the best implementation I've see,
so props.




More information about the pacman-dev mailing list