wok annotate slitaz-icon/receipt @ rev 16691
Fix /usr/share/locale/LC_MESSAGES/
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 23 04:30:03 2014 +0300 (2014-05-23) |
parents | f20bb2aafa21 |
children | 526f73d5d166 |
rev | line source |
---|---|
pankso@3081 | 1 # SliTaz package receipt. |
pankso@3081 | 2 |
pankso@3081 | 3 PACKAGE="slitaz-icon" |
al@16690 | 4 VERSION="1.2.1" |
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" |
pascal@15579 | 8 LICENSE="GPL3" |
pankso@3081 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3081 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@3081 | 11 WGET_URL="http://mirror.slitaz.org/sources/artwok/$TARBALL" |
pankso@16081 | 12 HOST_ARCH="i486 arm" |
pankso@3081 | 13 |
pankso@3081 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3081 | 15 genpkg_rules() |
pankso@3081 | 16 { |
pankso@3081 | 17 mkdir -p $fs/usr/share/icons |
pankso@3081 | 18 cp -a $src/SliTaz $fs/usr/share/icons |
pankso@11745 | 19 sed -i s'/Name=Faenza/Name=SliTaz/' \ |
pankso@11745 | 20 $fs/usr/share/icons/SliTaz/index.theme |
pankso@12177 | 21 # We use a new one provided by TazPanel |
pankso@12177 | 22 rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png |
al@16690 | 23 # fix icons for Yad |
al@16690 | 24 ln -s go-next.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-forward.png |
al@16690 | 25 ln -s go-previous.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-back.png |
pankso@3081 | 26 chown -R root.root $fs |
pankso@3081 | 27 } |
pankso@3081 | 28 |
pankso@3081 | 29 post_install() |
pankso@3081 | 30 { |
pankso@9907 | 31 # Default icon theme to SliTaz. |
pankso@9912 | 32 if [ -f $1/etc/skel/.gtkrc-2.0 ]; then |
pankso@9912 | 33 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0 |
pankso@9912 | 34 fi |
pankso@11745 | 35 if readlink $1/usr/share/icons/Tango; then |
pankso@11745 | 36 rm $1/usr/share/icons/Tango |
pankso@3081 | 37 fi |
pankso@3081 | 38 } |