On 14 April 2010 21:20, Jim Pryor <lists+arch-general@jimpryor.net> wrote:
Safer to do it in a place that regular users can write to, and to do all your makepkg-ing as a non-root user. You only need root privileges for the actual install step. You could do a makepkg followed by a sudo pacman -U packageyoumade-1.0.0-1-arch.pkg.tar.gz. Or you could do "makepkg -i" in the first place, then makepkg will try to install the package if it manages to build it successfully. (I think it will prompt you for a sudo password at the end for the actual installation. Though perhaps this is only in the makepkg wrapper I wrote on my own machines.)
It will just use sudo. And whether it prompts for a password is dependent on your sudo configuration. You can run makepkg -i anytime as long as you have a package built, it will automatically install the latest found in the build cache. -- GPG/PGP ID: B42DDCAD