[pacman-dev] [PATCHES] Refreshed PKGBUILDs

Xavier shiningxc at gmail.com
Mon May 19 07:14:18 EDT 2008

On Mon, May 19, 2008 at 12:43 PM, Loui <louipc.ist at gmail.com> wrote:
> On Mon, 19 May 2008 06:25:36 +0200
> Geoffroy Carrier <geoffroy.carrier at koon.fr> wrote:
>> Excerpts from louipc.ist's message of Mon May 19 07:39:45 +0200 2008:
>> > It would be nice if all three were referenced. I wouldn't feel right if
>> > $startdir disappeared.
>> In the .proto files?
> Yeah. A prime place to demonstrate all the variables, non?

I actually also see several advantages for not using $startdir :
1) pkgdir and srcdir could be independent
2) shorter and nicer
3) prevents you from accessing files directly from $startdir :
All files in use need to be put in source array, and these files are
copied from $startdir to $srcdir.
So $srcdir has everything you need. If you use $startdir however, you
can forget to put a file in source array, and you won't notice it
(that is why namcap prints a warning for that, but you need to use
namcap :))

and I personally would find it clearer to either use only
$pkgdir/$srcdir or only $startdir.

More information about the pacman-dev mailing list