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.
Thanks,
Roman
Пт, 1 трав. 2015 13:06 Maarten de Vries
On 29 April 2015 at 22:48, Roman Rader
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.
Regards, Maarten