wok-stable annotate slitaz-icon/receipt @ rev 9467
Fix receipts that remove lines that removed .pyc and .pyo files. Tazwok does that now.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Apr 03 14:11:25 2011 +0000 (2011-04-03) |
parents | 9d438789a992 |
children | 5d2c39bb0d1c |
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@3081 | 23 # Some desktop files anf boxes have hardcore path to some Tango |
pankso@3081 | 24 # icons, so fake. |
pankso@3081 | 25 if [ ! -d $1/usr/share/icons/Tango/16x16 ]; then |
pankso@3081 | 26 cd $1/usr/share/icons && rm -rf Tango |
pankso@3081 | 27 ln -s SliTaz Tango |
pankso@3081 | 28 fi |
pankso@3081 | 29 # Default icon theme to SliTaz. |
pankso@3081 | 30 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0 |
pankso@3081 | 31 } |