wok-6.x view faenza-icon-theme/receipt @ rev 13736

Add xbattle
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 19:05:46 2012 +0100 (2012-12-25)
parents
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="faenza-icon-theme"
4 VERSION="1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Faenza icon theme"
7 MAINTAINER="al.bobylev@gmail.com"
8 DEPENDS=""
9 TARBALL="${PACKAGE}_$VERSION.zip"
10 WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
11 WGET_URL="http://dl.dropbox.com/u/9966975/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/icons
17 cd $fs/usr/share/icons
18 tar xf $src/Faenza.tar.gz
19 tar xf $src/Faenza-Dark.tar.gz
20 tar xf $src/Faenza-Darkest.tar.gz
21 tar xf $src/Faenza-Darker.tar.gz
22 # remove big sizes and scalable
23 rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)')
24 # remove emblems and extras
25 rm -rf $(find . -type d -regex '.*/\(emblems\|extras\)')
26 # sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
28 for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do
29 cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme
30 done
31 }