[pacman-dev] [PATCH 4/5] makepkg: add soprovides support

Florian Pritz bluewind at server-speed.net
Fri Jan 21 12:45:46 EST 2011


On 21.01.2011 18:35, Dan McGee wrote:
> It *still* hasn't been explained how this thing works in either a
> commit message or docs. Do I include soprovides=() in my PKGBUILD? Do
> I need to insert something in provides=() to get a library to show up
> in the final package? Is it all completely automatic- all libraries in
> the package get an automatic provide entry generated? This is why I am
> so damn frustrated with these patches.

We had all 3 versions and the current patch works as follows:
You add something like "provides=(foo bar libfoo.so)" to the PKGBUILD.
The function searches all provides in the whole pkgdir and filters that
list using your provides array. It then removes your entries
(versionless) and adds those it found (with version).

-- 
Florian Pritz -- {flo,bluewind}@server-speed.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20110121/dd91f85c/attachment.asc>


More information about the pacman-dev mailing list