[arch-general] PKGBUILD inheritance

Maarten de Vries maarten at de-vri.es
Fri May 1 10:05:58 UTC 2015

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 need.
> I did
> #ABSROOT=. abs core/linux
> fixed config and I'm good, but to keep it updated with core/linux I need to
> 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 mailing list