yay icon indicating copy to clipboard operation
yay copied to clipboard

Request: Equivalent of Yaourt's PKGBUILD Option: -Pi

Open lievin-christopher opened this issue 6 years ago • 11 comments

Build package from PKGBUILD found in a local directory.. −i, −−install Also install the package.

lievin-christopher avatar Sep 08 '18 17:09 lievin-christopher

This would be very useful. When maintaining AUR packages it's easy to end up with a PKGBUILD that works due to the local environment but fails in a clean environment.

As an example, having GOPATH exported via my shell config masked the mistake I corrected here: https://aur.archlinux.org/cgit/aur.git/commit/?h=oragono&id=1cca626ee40d76faf1d70bf3428e6d892fb82ea1

But I only found the problem after pushing a broken PKGBUILD when I used yay to reinstall the package.

vith avatar Feb 28 '19 18:02 vith

I am looking for a more general ability to install from any vcs similar to python pip's https://packaging.python.org/tutorials/installing-packages/#installing-from-vcs which looks for setup.py instead of PKGBUILD.

xavier83 avatar Jan 16 '20 05:01 xavier83

my first try not knowing it is not supported was "yay -U" - as it us used to install a local pkg file.

soloturn avatar Oct 02 '20 09:10 soloturn

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 01 '20 09:12 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 04 '21 18:02 stale[bot]

I'm not sure if this issue is the same as #647, but if it is, then I would be very interested in it because I'm in the exact same situation as in #647.

YorkZ avatar Feb 18 '21 18:02 YorkZ

paru has an experimental feature it is what you expect?

soloturn avatar Feb 20 '21 11:02 soloturn

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 20 '21 12:06 stale[bot]

paru has an experimental feature it is what you expect?

Yes, exactly the same feature I requested

lievin-christopher avatar Jul 08 '21 21:07 lievin-christopher

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 06 '21 08:11 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 09 '22 01:03 stale[bot]

Implemented as yay -Bi (available in yay-git)

Jguer avatar Feb 21 '23 01:02 Jguer