You are not logged in.

#1 2008-12-03 03:41:14

imrehg
Member
From: London, UK
Registered: 2008-04-10
Posts: 108
Website

confusion with PKGBUILD depends

Hi, have a little confusion with the PKGBUILD depends field.

I'm making a PKGBUILD that depends on latex. That is in tetex which is provided by extra/texlive-core. I checked with abs, and it only has the provides=('tetex').

Now, with pacman I can say:
1) pacman -S tetex  => chosen provider package, will install texlive-core
2) pacman -S texlive-core => will install texlive core

In the PKGBUILD:
1) depends=('tetex')  => yaourt will try to install aur/tetex instead of extra/texlive-core
2) depends=('texlive-core') => makepkg says "Unresolved dependencies" and stops
3) if the user has texlive-core installed, then all fine (of course)

So - how can I force yaourt to install extra/texlive-core???

Thanks for any suggestions in advance!

Offline

#2 2008-12-03 04:09:35

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

Re: confusion with PKGBUILD depends

imrehg wrote:

2) depends=('texlive-core') => makepkg says "Unresolved dependencies" and stops

That is the one you want.  makepkg has the "-s" option for installing needed depends from the repo.  I'm sure yaourt will have something similar.

Offline

Board footer

Powered by FluxBB