Ye, I've been thinking about this. My current feeling is to add hicolour-icon-theme to opt-depends and then put an echo about updating the icon cache in the post_install. Currently, hicolour-icon-theme is a depend which seems rather overkill to me, and the icon cache is updated from post_install
2009/4/8 Jan de Groot <[email protected]> > 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. > >
