wok-6.x rev 11745

Up: slitaz-icon (1.2) - New icon set and more complet but yet minimal
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 22 02:49:53 2012 +0100 (2012-02-22)
parents 8532d13b4310
children 75e3e38e6d11
files slitaz-icon/receipt
line diff
     1.1 --- a/slitaz-icon/receipt	Tue Feb 21 17:29:08 2012 -0800
     1.2 +++ b/slitaz-icon/receipt	Wed Feb 22 02:49:53 2012 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="slitaz-icon"
     1.7 -VERSION="1.1"
     1.8 +VERSION="1.2"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="SliTaz icons in size 16x16 and 32x32 (minimum)."
    1.11 +SHORT_DESC="SliTaz icons in size 22x22 and 32x32 (minimum)."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://www.slitaz.org/"
    1.15 @@ -14,7 +14,8 @@
    1.16  {
    1.17  	mkdir -p $fs/usr/share/icons
    1.18  	cp -a $src/SliTaz $fs/usr/share/icons
    1.19 -	cp -a $src/themes/dark-brown/* $fs/usr/share/icons/SliTaz
    1.20 +	sed -i s'/Name=Faenza/Name=SliTaz/' \
    1.21 +		$fs/usr/share/icons/SliTaz/index.theme
    1.22  	chown -R root.root $fs
    1.23  }
    1.24  
    1.25 @@ -24,10 +25,7 @@
    1.26  	if [ -f $1/etc/skel/.gtkrc-2.0 ]; then
    1.27  		sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
    1.28  	fi
    1.29 -	# Some desktop files anf boxes have hardcore path to some Tango
    1.30 -	# icons, so fake.
    1.31 -	if [ ! -d $1/usr/share/icons/Tango/16x16 ]; then
    1.32 -		cd $1/usr/share/icons && rm -rf Tango
    1.33 -		ln -s SliTaz Tango
    1.34 +	if readlink $1/usr/share/icons/Tango; then
    1.35 +		rm $1/usr/share/icons/Tango
    1.36  	fi
    1.37  }