wok-next view slitaz-icon/receipt @ rev 21403
updated php again (7.4.4 -> 7.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 21 10:28:30 2020 +0100 (2020-04-21) |
parents | cd7906120828 |
children |
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="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-1.2.tar.gz"
13 WGET_URL="http://mirror.slitaz.org/sources/artwok/$TARBALL"
15 BUILD_DEPENDS="faenza-icon-theme"
17 genpkg_rules() {
18 mkdir -p $fs/usr/share/icons
19 cp -a $src/SliTaz $fs/usr/share/icons
21 # We use a new one provided by TazPanel
22 rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png
24 # fix icons for Yad
25 ln -s go-next.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-forward.png
26 ln -s go-previous.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-back.png
28 # remove non-existent entities => faster icon search
29 rm -f $fs/usr/share/icons/SliTaz/index.theme
30 cp $stuff/index.theme $fs/usr/share/icons/SliTaz
32 # return back gpicview icon
33 cp $WOK/faenza-icon-theme/taz/*/fs/usr/share/icons/Faenza/apps/22/eog.png \
34 $fs/usr/share/icons/SliTaz/apps/22
36 # remove broken symlinks
37 for i in $(find $fs -type l); do
38 [ ! -e $i ] && rm -f $i
39 done
41 chown -R root.root $fs
42 }
44 post_install() {
45 # Default icon theme to SliTaz.
46 if [ -f "$1/etc/skel/.gtkrc-2.0" ]; then
47 sed -i s/Tango/SliTaz/ "$1/etc/skel/.gtkrc-2.0"
48 fi
49 if readlink "$1/usr/share/icons/Tango"; then
50 rm "$1/usr/share/icons/Tango"
51 fi
52 }