wok-next view slitaz-icon/receipt @ rev 14730
Up xorg-xf86-video-ati (7.1.0), xorg-xf86-video-fbdev (0.4.3), xorg-xf86-video-geode (2.11.14), xorg-xf86-video-i740 (1.3.4), xorg-xf86-video-neomagic (1.2.7), xorg-xf86-video-nv (2.1.20), xorg-xf86-video-s3 (0.6.5), xorg-xf86-video-trident (1.3.6), xorg-xf86-video-vesa (2.3.2), xorg-xf86-video-vmware (13.0.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 13 10:45:31 2013 +0200 (2013-06-13) |
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 }