Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to build single package from PKGBUILD? #2310

Open
benjamindaines opened this issue Nov 7, 2023 · 1 comment
Open

Possible to build single package from PKGBUILD? #2310

benjamindaines opened this issue Nov 7, 2023 · 1 comment
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request

Comments

@benjamindaines
Copy link

Just installed quassel-client-git from AUR using YAY and, as that PKGBUILD contains multiple build targets, YAY spent over and hour building all 8 packages when I only needed one.

$ yay -S quassel-client-git
built the following:
quassel-git
quassel-light-git
quassel-light-webengine-git
quassel-client-git
quassel-client-light-git
quassel-client-light-webengine-git
quassel-core-git
quassel-common-git

There's got to be a better way to handle that. I could use the --edit flag and butcher the PKGBUILD, but an argument would be a cleaner solution, or perhaps another question asked before building "which packages do you NOT want to build?"

Food for thought.

@benjamindaines benjamindaines added Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request labels Nov 7, 2023
@smac89
Copy link

smac89 commented Dec 29, 2023

This does not seem to be something yay can prevent. The PKGBUILD for that package is what explicitly builds everything.

See also https://wiki.archlinux.org/title/Meta_package_and_package_group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants