[pacman-dev] code reuse for PKGBUILD

Allan McRae allan at archlinux.org
Sat Feb 2 18:07:10 EST 2013


On 02/02/13 23:48, Florian Pritz wrote:
> On 11.12.2012 14:47, Allan McRae wrote:
>> On 08/12/12 03:17, Florian Pritz wrote:
>>> You could go with something like:
>>> # template start: name=perl-module; sha1=feedbeef42c0ffee; version=1.2.3
>>> code
>>> code
>>> # template end
>>
>>
>> On 07/12/12 13:46, Kent Fredric wrote:> 3. #<<NAMEHERE>> is replaced
>> with #<<NAMEHERE:sha=$sha1:v=$version>>  (
>>> where $sha1 is the sha1 of the content that was inlined, and $version is
>>> the version of the module that was used to generate the body.
>>> 4. generated content is injected after modified #<<NAMEHERE>>
>>> 5. closing #<<-NAMEHERE>>  comment is added.
>>
>>
>>
>> I'm going to give this idea the OK to go into makepkg...
>>
>> However it would be good to come to some agreement on the syntax first.
> 
> Any progress on this?

No...  I expected to see a wiki page started with the details of how
this would work and some examples.

Allan





More information about the pacman-dev mailing list