wok diff slitaz-icon/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents
children 9d438789a992
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slitaz-icon/receipt	Thu Dec 16 17:16:06 2010 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="slitaz-icon"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="SliTaz icons in size 16x16 and 32x32 (minimum)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.slitaz.org/"
    1.13 +WGET_URL="http://mirror.slitaz.org/sources/artwok/$TARBALL"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/share/icons
    1.19 +	cp -a $src/SliTaz $fs/usr/share/icons
    1.20 +	cp -a $src/themes/redyello/* $fs/usr/share/icons/SliTaz
    1.21 +	chown -R root.root $fs
    1.22 +}
    1.23 +
    1.24 +post_install()
    1.25 +{
    1.26 +	# Some desktop files anf boxes have hardcore path to some Tango
    1.27 +	# icons, so fake.
    1.28 +	if [ ! -d $1/usr/share/icons/Tango/16x16 ]; then
    1.29 +		cd $1/usr/share/icons && rm -rf Tango
    1.30 +		ln -s SliTaz Tango
    1.31 +	fi
    1.32 +	# Default icon theme to SliTaz.
    1.33 +	sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
    1.34 +}