[aur-general] Incorrect name when downloading from source=()

Allan McRae allan at archlinux.org
Tue Jun 16 03:02:34 EDT 2009


Abhishek Dasgupta wrote:
> 2009/6/16 Côme Pruvost <come.pruvost at gmail.com>:
>   
>> Hello,
>>
>> To package cellwriter, I need to download this patch[1]. But once
>> downloaded, the name of the file is
>> "attachment?aid=-5287197620305474653&name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff"
>> instead of just
>> "cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff".
>>
>> - Is it a big problem ? I mean if another user do not use wget will my
>> PKGBUILD work for him ?
>> - Is there a way to force a correct behavior ?
>>
>> [1] http://cellwriter.googlecode.com/issues/attachment?aid=-5287197620305474653&name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff
>>
>>     
>
> You can always download the patch, rename it and
> put in the source tarball (makepkg --source)
>   

Or use something like


cellwritter.diff::http://cellwriter.googlecode.com/...

in your source array.   The downloaded file will get the name specified 
before the "::".

Allan





More information about the aur-general mailing list