wok view slitaz-icon/receipt @ rev 16714
Up: slitaz-configs (5.5.2): add all XDG user directories
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 29 17:22:30 2014 +0300 (2014-05-29) |
parents | 59b2c90aa4fe |
children | 094fdfff5b84 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-icon"
4 VERSION="1.2.1"
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-1.2.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 # fix icons for Yad
24 ln -s go-next.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-forward.png
25 ln -s go-previous.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-back.png
26 chown -R root.root $fs
27 }
29 post_install()
30 {
31 # Default icon theme to SliTaz.
32 if [ -f $1/etc/skel/.gtkrc-2.0 ]; then
33 sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
34 fi
35 if readlink $1/usr/share/icons/Tango; then
36 rm $1/usr/share/icons/Tango
37 fi
38 }