wok-6.x view slitaz-icon/receipt @ rev 15987
mktorrent: add to ARM and x86_64 arch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 02:18:29 2014 +0100 (2014-03-02) |
parents | 2a34eb034bf6 |
children | f20bb2aafa21 |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://mirror.slitaz.org/sources/artwok/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/icons
17 cp -a $src/SliTaz $fs/usr/share/icons
18 sed -i s'/Name=Faenza/Name=SliTaz/' \
19 $fs/usr/share/icons/SliTaz/index.theme
20 # We use a new one provided by TazPanel
21 rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png
22 chown -R root.root $fs
23 }
25 post_install()
26 {
27 # Default icon theme to SliTaz.
28 if [ -f $1/etc/skel/.gtkrc-2.0 ]; then
29 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
30 fi
31 if readlink $1/usr/share/icons/Tango; then
32 rm $1/usr/share/icons/Tango
33 fi
34 }