wok view slitaz-icon/receipt @ rev 11345

fail2ban: Fixed typo.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 26 14:56:42 2011 +0000 (2011-11-26)
parents 5d2c39bb0d1c
children 04e8cd2fc52d
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-icon"
4 VERSION="1.1"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz icons in size 16x16 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 cp -a $src/themes/dark-brown/* $fs/usr/share/icons/SliTaz
18 chown -R root.root $fs
19 }
21 post_install()
22 {
23 # Default icon theme to SliTaz.
24 if [ -f $1/etc/skel/.gtkrc-2.0 ]; then
25 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
26 fi
27 # Some desktop files anf boxes have hardcore path to some Tango
28 # icons, so fake.
29 if [ ! -d $1/usr/share/icons/Tango/16x16 ]; then
30 cd $1/usr/share/icons && rm -rf Tango
31 ln -s SliTaz Tango
32 fi
33 }