wok-next annotate slitaz-icons-faenza/receipt @ rev 20229
Up cookutils (1002), ladspa (v2), liblo (0.29), hydrogen, svgcleaner; add svgcleaner-gui
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 06 03:21:50 2017 +0200 (2017-11-06) |
parents | 1a7f0416f9b1 |
children | 2f03cb67a994 |
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@17950 | 10 |
al@19840 | 11 BUILD_DEPENDS="faenza-icon-theme make-slitaz-icons" |
al@19840 | 12 SPLIT="slitaz-icons-faenza-dark" |
al@17950 | 13 |
al@19840 | 14 # Rules to compile and make the package. |
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@19840 | 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@19840 | 56 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19840 | 57 genpkg_rules() |
al@19840 | 58 { |
al@19840 | 59 case $PACKAGE in |
al@19840 | 60 slitaz-icons-faenza) |
al@19840 | 61 copy SliTaz-Faenza/ |
al@19840 | 62 ;; |
al@19840 | 63 slitaz-icons-faenza-dark) |
al@19840 | 64 copy SliTaz-Faenza-Dark/ |
al@19840 | 65 CAT="customization|for dark themes" |
al@19840 | 66 DEPENDS="slitaz-icons-faenza" |
al@19840 | 67 ;; |
al@19840 | 68 esac |
al@19840 | 69 } |