[pacman-dev] makepkg: package splitting

Marc - A. Dahlhaus [ Administration | Westermann GmbH ] mad at wol.de
Mon Dec 15 04:28:27 EST 2008

Am Dienstag, den 09.12.2008, 22:32 +1000 schrieb Allan McRae:
> Marc - A. Dahlhaus [ Administration | Westermann GmbH ] wrote:
> >
> > I'll tested that again and i forgot to change two of the DESTDIR
> > locations to the new home of the pkgdirs... So the missing cleanup was
> > actually a stupid user error...
> >   
> You should only be doing something like "make DESTDIR=$pkgdir install".  
> Makepkg points $pkgdir in the right place for each split package.  (I 
> will get around to documenting all this at some stage)
> Allan

Hello Allan,

i think i found another bug. Every package that is a split-build and not
in the first position in the pkgname build-order shows an empty
"Optional dependencies" string during installation. I think there is
something wrong in restore_package_variables during variable resetting
to initial values or in backup_package_variables during the backup
declaration. It looks like there are to much quotes around the
declaration so that it declares an empty string. Maybe a "-z" check
before the actual variable declaration could fix that particular


More information about the pacman-dev mailing list