[aur-general] How to install dependency that is in AUR

Ole Jon Bjørkum mail at olejon.net
Wed Nov 4 15:35:11 UTC 2015


Is it okay to do it in the prepare() function in PKGBUILD?

I did it like this and it works:

wget https://aur.archlinux.org/cgit/aur.git/snapshot/libgcrypt11.tar.gz -O
$srcdir/libgcrypt11.tar.gz
tar -zxvf $srcdir/libgcrypt11.tar.gz
cd $srcdir/libgcrypt11
makepkg -sri

Thanks!

On Wed, Nov 4, 2015 at 3:59 PM, Giancarlo Razzolini <grazzolini at gmail.com>
wrote:

> Em 04-11-2015 12:06, Ole Jon Bjørkum escreveu:
> > What is the correct way to install a  dependency if the dependency
> package
> > is in AUR? Can I do it in the .install file?
>
> No, you can't do it in the .install file. The user is expected to either
> use an AUR helper or to download the PKGBUILD for each dependency (and
> sub dependencies, and so on) and install them before installing your
> package, them being on AUR or on the official repos.
>
> Cheers,
> Giancarlo Razzolini
>


More information about the aur-general mailing list