wok-next view slitaz-icons-faenza/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | cd7906120828 |
children |
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/"
10 REPOLOGY="-"
12 BUILD_DEPENDS="faenza-icon-theme make-slitaz-icons"
13 SPLIT="$PACKAGE-dark"
15 compile_rules() {
16 # light theme ------------
17 mksit.sh \
18 -f /usr/share/icons/Faenza \
19 -t $install/usr/share/icons/SliTaz-Faenza \
20 -opmax
22 f="$install/usr/share/icons/SliTaz-Faenza"
23 cp -f $stuff/start-here-slitaz-48.png $f/48x48/places/start-here.png
24 cp $stuff/view-filter.png $stuff/view-sidetree.png $f/16x16/actions
25 # Use 16x16 icon on 22x22 canvas:
26 cp $stuff/avatar-default.png $f/22x22/status
28 for i in 16x16 48x48;do
29 cd $f/$i/categories
30 mv applications-science.png applications-education.png
31 cp $stuff/applications-science_$i.png applications-science.png
32 done
34 # dark theme ------------
35 separator
36 mksit.sh \
37 -f /usr/share/icons/Faenza-Dark \
38 -t $install/usr/share/icons/SliTaz-Faenza-Dark \
39 -opmax
41 f="$install/usr/share/icons/SliTaz-Faenza-Dark"
42 for i in $(find $f \( -type f -o -type l \)); do
43 bn=$(basename $i .png)
44 if ! grep -q "^$bn$" $stuff/filelist; then
45 rm $i
46 fi
47 done
49 # cp -f $f/16x16/apps/system-log-out.png $f/16x16/actions
50 for d in 16x16/status 16x16/apps 48x48; do rm -r $f/$d; done
51 cp -f $stuff/index.theme $f
52 # Use 16x16 icon on 22x22 canvas:
53 cp $stuff/avatar-default-dark.png $f/22x22/status/avatar-default.png
54 }
56 genpkg_rules() {
57 case $PACKAGE in
58 slitaz-icons-faenza)
59 copy SliTaz-Faenza/
60 ;;
61 slitaz-icons-faenza-dark)
62 copy SliTaz-Faenza-Dark/
63 CAT="customization|for dark themes"
64 DEPENDS="slitaz-icons-faenza"
65 ;;
66 esac
67 }