[pacman-dev] Split installs for makepkg

Xavier shiningxc at gmail.com
Mon Feb 25 09:09:30 EST 2008

On Mon, Feb 25, 2008 at 10:50:30PM +1000, Mark Constable wrote:
> On 25 Feb 2008 22:04, Xavier wrote:
> > >  IIRC something like this was proposed by Alessio AKA mOLOk.
> > >  You can find it in ML archives or bugtracker.
> > 
> > Right, you referenced everything there :
> > http://bugs.archlinux.org/task/8187
> > 
> > About Mark's proposal, that doesn't seem like the cleanest way.
> > I mean, calling makepkg from a PKGBUILD sounds a bit ugly.
> > Probably cleaner implementations involve hacking or patching of makepkg :)
> I posted to ping the issue of split packages and the main
> point of my current suggestion is that it indeed does *not*
> require any patching of makepkg meaning I can, and am, using
> the method right now to produce split packages via an unpatched
> makepkg, albeit in a crude and perhaps ugly manner.
> The only real world example in actual use, that I am aware of,
> is the KDEmod method and that requires a fairly invasive 9k
> patch that seems difficult to forward port to later versions
> of makepkg. This bothers me and is why I looked into another
> method to achieve at least simple split packages (*-doc and
> *-dev) out from the main package. To my surprise I found the
> absolute simplest recursive approach actually seems to work,
> for my immediate needs. For the record here again is a
> snippet from my current kde-svn build system...

Right, I am not denying the fact that your approach is practical and useful.
I personally don't even have the need of splitting packages in the first place.

I was just pointing out that the ideas suggested in FS#8187 look like a
cleaner approach, and that it should probably be implemented by people who
need and want that feature ;)

More information about the pacman-dev mailing list