yay icon indicating copy to clipboard operation
yay copied to clipboard

Install local PKGBUILD, equivalent to paru -Ui

Open Spixmaster opened this issue 3 years ago • 3 comments

I want to build a local PKGBUILD and install it. With paru it would be paru -Ui in the suitable working directory.

Is this already possible? I read through the man page several times and did not find it.

Spixmaster avatar May 18 '21 04:05 Spixmaster

makepkg -i?

Optiligence avatar Jun 04 '21 15:06 Optiligence

@Optiligence That is possible of course but the problem with that is that AUR dependencies cannot be resolved.

Spixmaster avatar Jun 04 '21 15:06 Spixmaster

ahh, fair enough

Optiligence avatar Jun 04 '21 15:06 Optiligence

also the other issue is with meta packages like postfix, I suppose a makepkg -si would install all packages:

postfix-3.7.4-4 postfix-cdb-3.7.4-4 postfix-ldap-3.7.4-4 postfix-lmdb-3.7.4-4 postfix-mysql-3.7.4-4 postfix-pcre-3.7.4-4 postfix-pgsql-3.7.4-4 postfix-sqlite-3.7.4-4

I am only interested at installing postfix and postfix-mysql from the local meta package.

HLFH avatar Jan 23 '23 13:01 HLFH

I am wondering if yay v12 fixed that. https://github.com/Jguer/yay/pull/1826

Now testing yay v12:

yay -S yay-git

yay-git is using the next branch.

HLFH avatar Jan 23 '23 14:01 HLFH

This is implement in yay v12 indeed (available only on yay-git) for now.

The command is yay -Bi <directory of PKGBUILD+SRCINFO>

Jguer avatar Jan 23 '23 14:01 Jguer

@Jguer Good start and great job but it does not work for my specific issue/test with meta packages: https://github.com/Jguer/yay/issues/1899 and https://github.com/Jguer/yay/issues/1900.

HLFH avatar Jan 23 '23 16:01 HLFH