[pacman-dev] code reuse for PKGBUILD

Florian Pritz bluewind at xinu.at
Sat Feb 2 08:48:01 EST 2013


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?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130202/8df7cbb2/attachment.asc>


More information about the pacman-dev mailing list