wok-next annotate slitaz-icon/receipt @ rev 14677
emotion: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:08:46 2013 +0200 (2013-06-06) |
parents | 04e8cd2fc52d |
children | eb8067417980 |
rev | line source |
---|---|
pankso@3081 | 1 # SliTaz package receipt. |
pankso@3081 | 2 |
pankso@3081 | 3 PACKAGE="slitaz-icon" |
pankso@11745 | 4 VERSION="1.2" |
pankso@3081 | 5 CATEGORY="misc" |
pankso@11745 | 6 SHORT_DESC="SliTaz icons in size 22x22 and 32x32 (minimum)." |
pankso@3081 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3081 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3081 | 9 WEB_SITE="http://www.slitaz.org/" |
pankso@3081 | 10 WGET_URL="http://mirror.slitaz.org/sources/artwok/$TARBALL" |
pankso@3081 | 11 |
pankso@3081 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3081 | 13 genpkg_rules() |
pankso@3081 | 14 { |
pankso@3081 | 15 mkdir -p $fs/usr/share/icons |
pankso@3081 | 16 cp -a $src/SliTaz $fs/usr/share/icons |
pankso@11745 | 17 sed -i s'/Name=Faenza/Name=SliTaz/' \ |
pankso@11745 | 18 $fs/usr/share/icons/SliTaz/index.theme |
pankso@12177 | 19 # We use a new one provided by TazPanel |
pankso@12177 | 20 rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png |
pankso@3081 | 21 chown -R root.root $fs |
pankso@3081 | 22 } |
pankso@3081 | 23 |
pankso@3081 | 24 post_install() |
pankso@3081 | 25 { |
pankso@9907 | 26 # Default icon theme to SliTaz. |
pankso@9912 | 27 if [ -f $1/etc/skel/.gtkrc-2.0 ]; then |
pankso@9912 | 28 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0 |
pankso@9912 | 29 fi |
pankso@11745 | 30 if readlink $1/usr/share/icons/Tango; then |
pankso@11745 | 31 rm $1/usr/share/icons/Tango |
pankso@3081 | 32 fi |
pankso@3081 | 33 } |