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