wok-current rev 3312
Edit: Nicotine+ genpkg_rules
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Sat Jun 06 21:50:00 2009 +0000 (2009-06-06) |
parents | 5b127b495311 |
children | 55a59aa123da |
files | nicotine+/receipt |
line diff
1.1 --- a/nicotine+/receipt Sat Jun 06 20:18:15 2009 +0200 1.2 +++ b/nicotine+/receipt Sat Jun 06 21:50:00 2009 +0000 1.3 @@ -21,8 +21,18 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr 1.8 - cp -a $_pkg/usr $fs 1.9 + mkdir -p $fs/usr $fs/usr/share $fs/usr/share/nicotine 1.10 + cp -a $_pkg/usr/bin $fs/usr 1.11 mv $fs/usr/bin/nicotine.py $fs/usr/bin/nicotine 1.12 + cp -a $_pkg/usr/lib $fs/usr 1.13 + cp -a $_pkg/usr/share/applications $fs/usr/share 1.14 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.15 + cp -a $_pkg/usr/share/nicotine/sounds $fs/usr/share/nicotine 1.16 + 1.17 + for lang in de es fr pt_BR; do 1.18 + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES 1.19 + cp -a $_pkg/usr/share/locale/$lang/LC_MESSAGES/nicotine.mo \ 1.20 + $fs/usr/share/locale/$lang/LC_MESSAGES 1.21 + done 1.22 } 1.23