wok-6.x view slitaz-icon/receipt @ rev 16081
ARM: add more basic Xorg pkgs and improve jwm receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 15 19:56:28 2014 +0100 (2014-03-15) |
parents | eb8067417980 |
children | 59b2c90aa4fe |
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"
12 HOST_ARCH="i486 arm"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/share/icons
18 cp -a $src/SliTaz $fs/usr/share/icons
19 sed -i s'/Name=Faenza/Name=SliTaz/' \
20 $fs/usr/share/icons/SliTaz/index.theme
21 # We use a new one provided by TazPanel
22 rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png
23 chown -R root.root $fs
24 }
26 post_install()
27 {
28 # Default icon theme to SliTaz.
29 if [ -f $1/etc/skel/.gtkrc-2.0 ]; then
30 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
31 fi
32 if readlink $1/usr/share/icons/Tango; then
33 rm $1/usr/share/icons/Tango
34 fi
35 }