[arch-general] PKGBUILD inheritance
roman.rader at gmail.com
Fri May 1 11:58:42 UTC 2015
Well yes, basically what I want to do is to download the PKGBUILD in the
prepare function and do makepkg inside my build function. I can then unpack
content of resulting package and put it to destination directory to pack it
again, but it's hacky and doesn't look nice. I'm looking for the proper way
to do it.
Пт, 1 трав. 2015 13:06 Maarten de Vries <maarten at de-vri.es> пише:
On 29 April 2015 at 22:48, Roman Rader <antigluk at gmail.com> wrote:
> > Hi
> > I want to make PKGBUILD for kernel in AUR with enabled options that I
> > I did
> > #ABSROOT=. abs core/linux
> > fixed config and I'm good, but to keep it updated with core/linux I need
> > do it all the time (load latest core/linux, fix the config, rebuild). Is
> > there some tools/mechanisms to make a PKGBUILD that will do it
> > automatically?
> PKGBUILDs are just bash scripts, so you can do pretty much anything in
> them. If you can automate updating the config, then you could stick that
> in the prepare() function of the PKGBUILD and you should be set I think.
More information about the arch-general