wok-next view slitaz-icon/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents 266eb7ab8b5a
children cd7906120828
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 WEB_SITE="http://www.slitaz.org/"
11 TARBALL="$PACKAGE-1.2.tar.gz"
12 WGET_URL="http://mirror.slitaz.org/sources/artwok/$TARBALL"
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 }