wok-next view slitaz-icons-faenza/receipt @ rev 20844

Add amiwm, tklauncher (thanks Pasquale Frega), tcl2c.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 22 20:40:27 2018 +0300 (2018-06-22)
parents 802ae6f847e2
children cd7906120828
line source
1 # SliTaz package receipt v2.
3 PACKAGE="slitaz-icons-faenza"
4 VERSION="1.3.1"
5 CATEGORY="customization"
6 SHORT_DESC="SliTaz icon set based on the Faenza icons"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 BUILD_DEPENDS="faenza-icon-theme make-slitaz-icons"
12 SPLIT="slitaz-icons-faenza-dark"
14 compile_rules() {
15 # light theme ------------
16 mksit.sh \
17 -f /usr/share/icons/Faenza \
18 -t $install/usr/share/icons/SliTaz-Faenza \
19 -opmax
21 f="$install/usr/share/icons/SliTaz-Faenza"
22 cp -f $stuff/start-here-slitaz-48.png $f/48x48/places/start-here.png
23 cp $stuff/view-filter.png $stuff/view-sidetree.png $f/16x16/actions
24 # Use 16x16 icon on 22x22 canvas:
25 cp $stuff/avatar-default.png $f/22x22/status
27 for i in 16x16 48x48;do
28 cd $f/$i/categories
29 mv applications-science.png applications-education.png
30 cp $stuff/applications-science_$i.png applications-science.png
31 done
33 # dark theme ------------
34 separator
35 mksit.sh \
36 -f /usr/share/icons/Faenza-Dark \
37 -t $install/usr/share/icons/SliTaz-Faenza-Dark \
38 -opmax
40 f="$install/usr/share/icons/SliTaz-Faenza-Dark"
41 for i in $(find $f \( -type f -o -type l \)); do
42 bn=$(basename $i .png)
43 if ! grep -q "^$bn$" $stuff/filelist; then
44 rm $i
45 fi
46 done
48 # cp -f $f/16x16/apps/system-log-out.png $f/16x16/actions
49 for d in 16x16/status 16x16/apps 48x48; do rm -r $f/$d; done
50 cp -f $stuff/index.theme $f
51 # Use 16x16 icon on 22x22 canvas:
52 cp $stuff/avatar-default-dark.png $f/22x22/status/avatar-default.png
53 }
55 genpkg_rules() {
56 case $PACKAGE in
57 slitaz-icons-faenza)
58 copy SliTaz-Faenza/
59 ;;
60 slitaz-icons-faenza-dark)
61 copy SliTaz-Faenza-Dark/
62 CAT="customization|for dark themes"
63 DEPENDS="slitaz-icons-faenza"
64 ;;
65 esac
66 }