trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] arch pkgbuild - direct git download - prototype (rough)

From: Pawel Soltys <sh4dou@...>
Date: Fri, 24 Feb 2012 21:48:26 +0100
On Fri, Feb 24, 2012 at 12:15 AM, David C. Rankin
<drankinatty@...> wrote:
> On 02/23/2012 05:01 PM, David C. Rankin wrote:
>> On 02/23/2012 04:31 PM, David C. Rankin wrote:
>>> Archers,
>>>
>>>   Please look at the attached PKGBUILD for libart-lgpl. It pulls the source
>>> either directly from the git tree on the local machine (after updating it), or
>>> it clones directly from scm.trinitydesktop.org. I looked over the existing
>>> pkgbuilds that use git in one form or another in ABS and this is my prototype
>>> for how we could do the remaining build scripts.
>>>
>>>   Let me know what changes you propose.
>>>
>>
>>   Of course the line:
>>
>> git clone --depth 1 $_giturl
>>
>>   should be:
>>
>> git clone $_giturl
>>
>> (forgot to save before pressing send...)
>>
>
> also,
>
> makedepends=()
>
>  should be:
>
> makedepends=('git')
>
>
> --
> David C. Rankin, J.D.,P.E.
>
About the pkgbuild:
1). try not to use custom variables
2). use package() function for packaging, even if it contains only 2
instructions.
We are trying to keep strictly to the arch packaging standards from
the beggining.

Otherwise, good work ;)
If you have access to our git, put this there, create new folder in
arch called git and put there all your pkgbuilds.