[pacman-dev] code reuse for PKGBUILD

Kent Fredric kentfredric at gmail.com
Thu Dec 6 13:51:31 EST 2012


On 7 December 2012 07:43, Jason St. John <jstjohn at purdue.edu> wrote:

>
>
> I think Kent's suggestions would be better targeted at
> PKGBUILD-perl.proto, which is a part of abs[1] instead of the primary
> PKGBUILD.proto which is shipped with pacman.
>
> [1]
> https://projects.archlinux.org/abs.git/tree/prototypes/PKGBUILD-perl.proto
>
> Jason
>
>
I am aware of this file somewhat, its just the standard usecase is "See the
file, copy its guts, dont understand what they do, suffer the fact the code
you copied will get old and wont be updated when the perl.proto is"

The idea is basically, "get the behaviour ascribed in PKGBUILD-perl.proto,
except, without needing to manually review that file, and have most the
legwork done by a little bit of syntax that loads that behaviour"



-- 
Kent

perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 )
for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz


More information about the pacman-dev mailing list