[pacman-dev] $startdir in PKGBUILDs

Allan McRae allan at archlinux.org
Thu Jun 3 21:42:59 EDT 2010


On 04/06/10 10:25, Dan McGee wrote:
> On Thursday, June 3, 2010, Allan McRae<allan at archlinux.org>  wrote:
>> Can anyone think of an actual use of $startdir in PKGBUILDs?
>
> It is used in VCS builds on occasion as the location of the dowloaded
> repo so that buildin clean (wiping out src/) doesn't force you to
> re-clone or whatever.
>

That is indeed a good usage.  We will keep it then!

I suppose a big push in Arch to replace $startdir usage will remind 
people once again not to use $startdir/{src,pkg}.

Allan


More information about the pacman-dev mailing list