wok-next view slitaz-icon/receipt @ rev 13179

Up ola (0.8.21)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 01 09:14:40 2012 +0200 (2012-08-01)
parents 04e8cd2fc52d
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-icon"
4 VERSION="1.2"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz icons in size 22x22 and 32x32 (minimum)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://mirror.slitaz.org/sources/artwok/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/icons
16 cp -a $src/SliTaz $fs/usr/share/icons
17 sed -i s'/Name=Faenza/Name=SliTaz/' \
18 $fs/usr/share/icons/SliTaz/index.theme
19 # We use a new one provided by TazPanel
20 rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png
21 chown -R root.root $fs
22 }
24 post_install()
25 {
26 # Default icon theme to SliTaz.
27 if [ -f $1/etc/skel/.gtkrc-2.0 ]; then
28 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
29 fi
30 if readlink $1/usr/share/icons/Tango; then
31 rm $1/usr/share/icons/Tango
32 fi
33 }