[aur-general] Depends question

Jonathan Arnold jdarnold at buddydog.org
Mon Apr 8 10:17:49 EDT 2013


On Mon, 08 Apr 2013 11:14:20 -0300
Rafael Ferreira <josephgbr at archlinux.info> wrote:

> Em 08/04/2013 11:10, Jesse Jaara escreveu:
> > maanantai, 8. huhtikuuta 2013 10:06:42 Jonathan Arnold kirjoitti:
> > I'm working on a pkgbuild for a package that can use either tomcat6
> > or tomcat7. Is it possible to make the depends list use an or?
> > 
> > Providing neather is needed at build time, you could just put both
> > in the
> > optdepends. If they are needed to build the package create 2
> > PKGBUILDs, one
> > for each version.
> 
> Good idea. Just complementing: with both PKGBUILDs having same 
> "provides=()".

If two packages (tomcat is needed to run it), how would you name them?
opengrok-tomcat6/-tomcat7 or opengrok-t6/t7?

-- 
Jonathan Arnold        Webstream: http://hieronymus.soup.io

Talent wins games, but team work and intelligence wins championships.
Michael Jordan



More information about the aur-general mailing list