[pacman-dev] makepkg --pkg for selective installation of split packages

Dave Reisner d at falconindy.com
Sun Feb 14 20:31:00 UTC 2016


On Sun, Feb 14, 2016 at 08:25:23PM +0000, Xyne wrote:
> Hi,
> 
> I completely missed the discussion in September about removing the "--pkg"
> option from makepkg. Without that option, "makepkg -irs" can only be used to
> install all packages from a split PKGBUILD, but a user often wants to install
> just one package (e.g [1]). Makepkg's automatic dependency resolution and
> installation is very useful for automation, and scripting "pacman -U" requires
> assumptions about expected package names that are likely error-prone and thus
> not a viable alternative.

Note that you can now also use makepkg to list the names of the packages
that it would generate, using the --packagelist flag.

> I opened a bug report about this before seeing the thread. I bring it up here
> for further discussion as this is where its removal was discussed.
> 
> Regards,
> Xyne
> 
> [1] https://bbs.archlinux.org/viewtopic.php?pid=1604418#p1604418


More information about the pacman-dev mailing list