[arch-ports] PKGBUILD and package release thoughts

Jason Chu jason at archlinux.org
Fri Mar 10 19:50:30 EST 2006


On Fri, Mar 10, 2006 at 06:43:14PM -0500, Dusty Phillips wrote:
> Would it be possible to use an array (or dict ;-)) of architecture
> releases instead of multiple variables? This would restrict it to one
> line in the PKGBUILD. I guess we could also have convention of
> semi-colon separating the arch-pkg-rel variables to conserve space.
> Really don't like how long these things are getting... :(
> 
> Dusty

Something like that would require parsing.  Bash doesn't support any sort
of associative arrays, so we'd end up doing something like how depends
version marking works ie.

arch_rels=('i686=3' 'amd64=2')

Jason

-- 
If you understand, things are just as they are.  If you do not understand,
things are just as they are.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/arch-ports/attachments/20060310/e6e7a215/attachment.pgp>


More information about the arch-ports mailing list