You are not logged in.

#1 2009-05-25 09:53:22

Rorschach
Member
From: Ankh-Morpork
Registered: 2008-11-07
Posts: 143

[SOLVED] Satisfying a dependency for package X with my package Y

Hi,
let's assume there are packages which depend on package X. Now I created a package Y in aur which is a slightly modified version of package X (some other configure options) but will also work with every package which depends on package X.

Now I used

conflicts=('X')

so my package can't be installed together with X because they have the same binaries, libs,... in the same places. But how can I make sure that the packages depending on X will be satisfied with package Y and don't want X to be installed? Is

provides=('X')

the correct thing?

greetings

Last edited by Rorschach (2009-05-25 10:24:09)

Offline

#2 2009-05-25 10:19:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: [SOLVED] Satisfying a dependency for package X with my package Y

Yes, provides=('X') is what you want.  You might want  provides=("X=version") to satisfy versioned dependencies.

Offline

#3 2009-05-25 10:23:55

Rorschach
Member
From: Ankh-Morpork
Registered: 2008-11-07
Posts: 143

Re: [SOLVED] Satisfying a dependency for package X with my package Y

Thanks for your help!

Offline

Board footer

Powered by FluxBB