On Fri, Nov 6, 2009 at 6:08 PM, Eric Bélanger <snowmaniscool@gmail.com> wrote:
assuming you do the $pkgname change you suggested above. Then, when you want a list of those files (to make sourceball, copy to chroot, whatever) you just loop through the arrays like we already do for pkgname. So no more need of these crazy grep and sed to get this information.
We may want to do that for all pkgbuild variables. Aaron and I discussed about using bash associative array. But this still requires some more brainstorming and work :) This is the second point that Allan made there :
I do not know how to fix that issue... Two potential options are: 1) add install/changelog files to the source array 2) change the split PKGBUILD format to allow easier evaluation of variables within split packages. Both have their drawbacks.