[arch-general] PKGBUILD

Stefan Husmann stefan-husmann at t-online.de
Sat Oct 10 17:05:55 EDT 2009


Baho Utot schrieb:
> Thorsten Toepper wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA224
>>
>> On Sat, 10 Oct 2009 16:08:02 -0400
>> Baho Utot <baho-utot at columbus.rr.com> wrote:
>>
>>  
>>> I am constructing a PKGBUILD for a package and I know some of the 
>>> variables have been depreciated
>>>
>>> Has $startdir been removed if so what is it new equiv.
>>>
>>> Thanks
>>>     
>>
>> Using $pkgdir and $srcdir is more welcome than using $startdir/{src,pkg}
>>   
> Not if you're writing a log file and makepkg -c is used.
> 

If all these variables are defined, they all can be used. The question is, 
for what purpose. Having a logfile in $startdir sounds reasonable to me.

Files which are needed to compile a package should go to $srcdir, files 
that should be in the resulting package should got to $pkgdir.

Regards Stefan


More information about the arch-general mailing list