[aur-general] Use of sudo in pkgbuild

Jan de Groot jan at jgc.homeip.net
Wed Apr 8 06:08:34 EDT 2009


On Tue, 2009-04-07 at 20:06 +0000, Laurie Clark-Michalek wrote:
> The pkg will not build if I don't have sudo enabled. It's because
> gtk-update-icon-cache is used during the make install, regardless of
> directory. See the error message below.
> 
> gtk-update-icon-cache: Failed to open file
> /usr/share/icons/hicolor/.icon-theme.cache : Permission denied
> make: *** [install] Error 1
> ==> ERROR: Build Failed.

Wreck it out. First of all, a PKGBUILD should _NEVER_ touch the system
it is built on. Second, hicolor icon caches should _NEVER_ be in any
package, it should be generated from post_install.



More information about the aur-general mailing list