diff options
Diffstat (limited to 'x11-themes/gnome-icons-faenza/Makefile')
-rw-r--r-- | x11-themes/gnome-icons-faenza/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/x11-themes/gnome-icons-faenza/Makefile b/x11-themes/gnome-icons-faenza/Makefile index 5f1dabd52395..74033bc48e3f 100644 --- a/x11-themes/gnome-icons-faenza/Makefile +++ b/x11-themes/gnome-icons-faenza/Makefile @@ -22,24 +22,24 @@ THEMES= Faenza Faenza-Dark Faenza-Darkest Faenza-Darker \ Faenza-Ambiance Faenza-Radiance FAENZA_LIGHT= Faenza FAENZA_DARK= Faenza-Dark +INSTALLDIR= ${STAGEDIR}${PREFIX}/share/icons -NO_STAGE= yes do-install: + @${MKDIR} ${INSTALLDIR} .for theme in ${THEMES} - @cd ${WRKDIR} && ${TAR} -xf ${theme}.tar.gz + @cd ${INSTALLDIR} && ${TAR} -xf ${WRKDIR}/${theme}.tar.gz .if ${FAENZA_LIGHT} == ${theme} || ${FAENZA_DARK} == ${theme} - @cd ${WRKDIR}/${theme}/places/scalable && \ + @cd ${INSTALLDIR}/${theme}/places/scalable && \ ${LN} -sf start-here-gnome.svg start-here.svg && \ ${LN} -sf start-here-gnome-symbolic.svg start-here-symbolic.svg .for size in 22 24 32 48 64 96 - @cd ${WRKDIR}/${theme}/places/${size} && \ + @cd ${INSTALLDIR}/${theme}/places/${size} && \ ${LN} -sf start-here-gnome.png start-here.png .endfor .endif - - ${CP} -R ${WRKDIR}/${theme} ${PREFIX}/share/icons - @cd ${PREFIX} && ${FIND} share/icons/${theme} ! -type d >> ${TMPPLIST} && \ + @cd ${STAGEDIR}${PREFIX} && ${FIND} share/icons/${theme} ! \ + -type d >> ${TMPPLIST} && \ ${FIND} share/icons/${theme} -type d | ${SORT} -r | \ ${SED} 's|^|@dirrm |' >> ${TMPPLIST} .endfor |