wok view slitaz-icon/receipt @ rev 19442
Up fltk (1.3.3) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 14 09:34:02 2016 +0200 (2016-10-14) |
parents | 9e01bc6321ea |
children | 669f61f44760 |
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="any"
14 BUILD_DEPENDS="faenza-icon-theme"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share/icons
20 cp -a $src/SliTaz $fs/usr/share/icons
22 # We use a new one provided by TazPanel
23 rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png
25 # fix icons for Yad
26 ln -s go-next.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-forward.png
27 ln -s go-previous.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-back.png
29 # remove non-existent entities => faster icon search
30 rm -f $fs/usr/share/icons/SliTaz/index.theme
31 cp $stuff/index.theme $fs/usr/share/icons/SliTaz
33 # return back gpicview icon
34 cp $WOK/faenza-icon-theme/taz/*/fs/usr/share/icons/Faenza/apps/22/eog.png \
35 $fs/usr/share/icons/SliTaz/apps/22
37 # remove broken symlinks
38 for i in $(find $fs -type l); do
39 [ ! -e $i ] && rm -f $i
40 done
42 chown -R root.root $fs
43 }
45 post_install()
46 {
47 # Default icon theme to SliTaz.
48 if [ -f "$1/etc/skel/.gtkrc-2.0" ]; then
49 sed -i s/Tango/SliTaz/ "$1/etc/skel/.gtkrc-2.0"
50 fi
51 if readlink "$1/usr/share/icons/Tango"; then
52 rm "$1/usr/share/icons/Tango"
53 fi
54 }