On Tue, May 13, 2014 at 8:51 PM, Dave Reisner <[email protected]> wrote: > On Tue, May 13, 2014 at 01:18:33PM +0800, lolilolicon wrote: >> On Tue, May 13, 2014 at 1:43 AM, Dave Reisner <[email protected]> wrote: >> > On Mon, May 12, 2014 at 01:06:20PM +0800, lolilolicon wrote: >> >> >> >> These are in the check_sanity function, by the time which is run we >> >> already source'd the BUILDFILE, correct? Why don't we use the existing >> >> variable arrays then? >> >> >> > >> > You're forgetting about package-level overrides, which aren't available >> > in the environment. >> >> Alright, we're cursed, aren't we? Gone are dreams of grace and order, >> now we must indulge in patch and scratch. > > Well, I'd like to think there's a slightly better tomorrow out there, > but I'm largely biased: > > https://github.com/falconindy/pkgbuild-introspection
Oh nice! Your extract_*_var functions are exactly what we need here in this particular case. OK now, since the wheel is already invented, hope we get it rolling soon! > > Not yet mature enough for makepkg, IMO, but it'll be powering AUR 3.0's > enhanced metadata. Since you're on it (the right track) and I trust your judgement, I'm hopeful for a better tomorrow :)
