wok view slitaz-icon/receipt @ rev 11979

add icon to stuff
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Mar 02 14:26:00 2012 -0800 (2012-03-02)
parents 71f4fc338a5e
children 2a34eb034bf6
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 chown -R root.root $fs
20 }
22 post_install()
23 {
24 # Default icon theme to SliTaz.
25 if [ -f $1/etc/skel/.gtkrc-2.0 ]; then
26 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
27 fi
28 if readlink $1/usr/share/icons/Tango; then
29 rm $1/usr/share/icons/Tango
30 fi
31 }