wok view faenza-icon-theme/receipt @ rev 18529
stfl: add libstfl.so.0 link
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 27 09:24:12 2015 +0100 (2015-10-27) |
parents | 3a3945a92524 |
children | 2e80ff20fdf2 |
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 LICENSE="GPL3"
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 DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $install/usr/share/icons
19 cd $install/usr/share/icons
20 tar xf $src/Faenza.tar.gz
21 tar xf $src/Faenza-Dark.tar.gz
22 tar xf $src/Faenza-Darkest.tar.gz
23 tar xf $src/Faenza-Darker.tar.gz
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 # remove big sizes and scalable
31 rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)')
32 # remove emblems and extras
33 rm -rf $(find . -type d -regex '.*/\(emblems\|extras\)')
34 # sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
36 for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do
37 cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme
38 done
39 }
41 qtfix="usr/share/icons/hicolor/index.theme"
43 post_install()
44 {
45 [ -s $1/$qtfix ] &&
46 sed '/Inherits=/s|=.*$|=Faenza|' -i $1/$qtfix
47 }
49 pre_remove()
50 {
51 [ -s $1/$qtfix ] &&
52 sed '/Inherits=/s|=.*$|=SliTaz|' -i $1/$qtfix
53 }