Re: PKGBUILD inheritance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



​

On 1 May 2015 at 14:13, Roman Rader <antigluk@xxxxxxxxx> wrote:

> 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.
>

​Indeed, that doesn't sound very nice. But running makepkg on the original
package seems wasteful anyway​ if you're going to compile again in the
build stage. It would seem more logical to use the same sources array plus
a patch or script to modify some files and apply those in the prepare()
function.

I'm not certain what exactly you're trying to do though. If you only want
to modify an upstream PKGBUILD it might be easier to just write a script to
do what you do manually now.

Regards,
Maarten


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux