wok-current rev 12030
stella: move post_install code to genpkg_rules. It's far better to run a command once on the builder than on install on each of our computer.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Mar 06 22:40:08 2012 +0100 (2012-03-06) |
parents | 55b62be94188 |
children | 0bbc317a22ba |
files | stella/receipt |
line diff
1.1 --- a/stella/receipt Tue Mar 06 21:07:58 2012 +0100 1.2 +++ b/stella/receipt Tue Mar 06 22:40:08 2012 +0100 1.3 @@ -26,12 +26,7 @@ 1.4 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications 1.5 cp -a $_pkg/usr/bin $fs/usr 1.6 cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps 1.7 - cp -a $_pkg/usr/share/applications/stella.desktop \ 1.8 - $fs/usr/share/applications/stella.desktop 1.9 + sed 's|Icon=stella.png|Icon=stella|' \ 1.10 + $_pkg/usr/share/applications/stella.desktop \ 1.11 + > $fs/usr/share/applications/stella.desktop 1.12 } 1.13 - 1.14 -post_install() 1.15 -{ 1.16 - sed -i 's|Icon=stella.png|Icon=stella|' \ 1.17 - $fs/usr/share/applications/stella.desktop 1.18 -}