wok-next annotate slitaz-icons-faenza/receipt @ rev 21268
updated frogatto (1.3.1 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 17:30:20 2019 +0100 (2019-12-06) |
parents | cd7906120828 |
children |
rev | line source |
---|---|
al@19840 | 1 # SliTaz package receipt v2. |
al@17950 | 2 |
al@17950 | 3 PACKAGE="slitaz-icons-faenza" |
al@19480 | 4 VERSION="1.3.1" |
al@19126 | 5 CATEGORY="customization" |
al@17950 | 6 SHORT_DESC="SliTaz icon set based on the Faenza icons" |
al@17950 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17950 | 8 LICENSE="GPL3" |
al@17950 | 9 WEB_SITE="http://www.slitaz.org/" |
al@20888 | 10 REPOLOGY="-" |
al@17950 | 11 |
al@19840 | 12 BUILD_DEPENDS="faenza-icon-theme make-slitaz-icons" |
al@21020 | 13 SPLIT="$PACKAGE-dark" |
al@17950 | 14 |
al@17950 | 15 compile_rules() { |
al@19840 | 16 # light theme ------------ |
al@17950 | 17 mksit.sh \ |
al@19840 | 18 -f /usr/share/icons/Faenza \ |
al@19840 | 19 -t $install/usr/share/icons/SliTaz-Faenza \ |
al@19840 | 20 -opmax |
al@17950 | 21 |
al@19840 | 22 f="$install/usr/share/icons/SliTaz-Faenza" |
al@18561 | 23 cp -f $stuff/start-here-slitaz-48.png $f/48x48/places/start-here.png |
al@19840 | 24 cp $stuff/view-filter.png $stuff/view-sidetree.png $f/16x16/actions |
al@18561 | 25 # Use 16x16 icon on 22x22 canvas: |
al@19840 | 26 cp $stuff/avatar-default.png $f/22x22/status |
al@18693 | 27 |
al@18693 | 28 for i in 16x16 48x48;do |
al@18693 | 29 cd $f/$i/categories |
al@18693 | 30 mv applications-science.png applications-education.png |
llevrel@18695 | 31 cp $stuff/applications-science_$i.png applications-science.png |
al@18693 | 32 done |
al@18693 | 33 |
al@19840 | 34 # dark theme ------------ |
al@19840 | 35 separator |
al@19840 | 36 mksit.sh \ |
al@19840 | 37 -f /usr/share/icons/Faenza-Dark \ |
al@19840 | 38 -t $install/usr/share/icons/SliTaz-Faenza-Dark \ |
al@19840 | 39 -opmax |
al@19840 | 40 |
al@19840 | 41 f="$install/usr/share/icons/SliTaz-Faenza-Dark" |
al@19840 | 42 for i in $(find $f \( -type f -o -type l \)); do |
al@19840 | 43 bn=$(basename $i .png) |
al@19840 | 44 if ! grep -q "^$bn$" $stuff/filelist; then |
al@19840 | 45 rm $i |
al@19840 | 46 fi |
al@19840 | 47 done |
al@19840 | 48 |
al@20491 | 49 # cp -f $f/16x16/apps/system-log-out.png $f/16x16/actions |
al@19840 | 50 for d in 16x16/status 16x16/apps 48x48; do rm -r $f/$d; done |
al@19840 | 51 cp -f $stuff/index.theme $f |
al@19840 | 52 # Use 16x16 icon on 22x22 canvas: |
al@19840 | 53 cp $stuff/avatar-default-dark.png $f/22x22/status/avatar-default.png |
al@17950 | 54 } |
al@19840 | 55 |
al@20491 | 56 genpkg_rules() { |
al@19840 | 57 case $PACKAGE in |
al@19840 | 58 slitaz-icons-faenza) |
al@19840 | 59 copy SliTaz-Faenza/ |
al@19840 | 60 ;; |
al@19840 | 61 slitaz-icons-faenza-dark) |
al@19840 | 62 copy SliTaz-Faenza-Dark/ |
al@19840 | 63 CAT="customization|for dark themes" |
al@19840 | 64 DEPENDS="slitaz-icons-faenza" |
al@19840 | 65 ;; |
al@19840 | 66 esac |
al@19840 | 67 } |