[arch-dev-public] [Patch] makechrootpkg: fixed support for splitted package

Allan McRae allan at archlinux.org
Sun Aug 9 22:08:13 EDT 2009


Eric Bélanger wrote:
> On Fri, Aug 7, 2009 at 2:19 AM, Eric Bélanger<snowmaniscool at gmail.com> wrote:
>   
>> Hi,
>>
>> Here (inline and attached) are a couple of patches for makechrootpkg.
>>
>>     
>
>
> Here's a second patch.  It fixes the copying of the package from the
> chroot when the pkgver or pkgrel are different (e.g. device-mapper &
> lvm2) :
>   

Be careful there.... man PKGBUILD:

All options and directives for the split packages default to the global
values given within the PKGBUILD. However, some of these can be
overridden within each split package’s packaging function. The
following variables can be overridden: pkgdesc, license, groups,
depends, optdepends, provides, conflicts, replaces, backup, options and
install.

So overriding pkgver and pkgrel may not work as expected.

Allan




More information about the arch-dev-public mailing list