You are not logged in.

#1 2011-01-16 08:50:56

fettouhi
Member
Registered: 2007-05-07
Posts: 772

Making a PKGBUILD with conflicting dependencies

I'm currently maintaining the ugly font fix for openoffice (with the infinality patch).

http://aur.archlinux.org/packages.php?ID=44325

Today a new version of libreoffice was released and the depency of that is now go-openoffice and not openoffice-base. The PKGBUILD I've made supports both openoffice and libreoffice installations but in the depency list I have written openoffice-base. This now conflicts with a libreoffice installation. Is there a neat way (with and if statement) that I can make the pkgbuild cheeck for openoffice installation when checking dependencies?

Offline

#2 2011-01-16 15:36:48

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Making a PKGBUILD with conflicting dependencies

libreoffice provides go-openoffice. There's no dependency. Your package puts files in /usr/lib/openoffice/program and libreoffice installs to /usr/lb/libreoffice. You can't depend on A or B if A and B don't have the same provide.

Offline

#3 2011-01-27 22:42:53

fettouhi
Member
Registered: 2007-05-07
Posts: 772

Re: Making a PKGBUILD with conflicting dependencies

So that means I will have to make 2 separate packages then?

Offline

Board footer

Powered by FluxBB