wok-6.x view faenza-icon-theme-emblems/receipt @ rev 14379
Move from undigest: faenza-icon-theme-emblems fbpdf ffmpegthumbnailer-dev ffmpegthumbnailer foobillardplus-music foobillardplus gnucash hg-git moserial ptxdist re-alpine sbackup slib tumbler-dev tumbler vfu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 21:54:08 2013 +0200 (2013-04-22) |
parents | |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="faenza-icon-theme-emblems"
4 VERSION="1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Faenza icon theme (emblems)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE=""
9 WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
11 WANTED="faenza-icon-theme"
12 DEPENDS="faenza-icon-theme"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share/icons
18 cd $fs/usr/share/icons
19 tar xf $src/Faenza.tar.gz Faenza/emblems
20 # remove big sizes and scalable
21 rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)')
22 # SliTaz locale settings
23 . $WOK/slitaz-i18n/stuff/locale-pack.conf
24 cd $fs/usr/share/icons/Faenza/emblems/16
25 for icon in $(ls -1 *.icon); do
26 CONTENT=$(cat $icon);
27 echo "[Icon Data]" > $icon;
28 echo "$CONTENT" | grep 'DisplayName=' >> $icon;
29 for lang in $LOCALE_PACK; do
30 echo "$CONTENT" | fgrep "DisplayName["$lang"]=" >> $icon;
31 for size in 22 24 32 48; do
32 rm -f ../$size/$icon
33 ln -s ../16/$icon ../$size/$icon
34 done
35 done
36 done
37 true
38 }