# SliTaz package receipt. PACKAGE="faenza-icon-theme-emblems" VERSION="1.3.1" CATEGORY="customization" SHORT_DESC="Faenza icon theme (emblems)." MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="https://deviantart.com/tiheum/art/Faenza-Icons-173323228" DEPENDS="faenza-icon-theme" WANTED="faenza-icon-theme" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/icons/Faenza cd $fs/usr/share/icons/Faenza cp -a $src/Faenza/emblems . # remove big sizes and scalable rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)') # SliTaz locale settings . $WOK/slitaz-i18n/stuff/locale-pack.conf cd $fs/usr/share/icons/Faenza/emblems/16 for icon in $(ls -1 *.icon) do CONTENT=$(cat $icon) echo "[Icon Data]" > $icon echo "$CONTENT" | grep 'DisplayName=' >> $icon for lang in $LOCALE_PACK do echo "$CONTENT" | fgrep "DisplayName["$lang"]=" >> $icon for size in 22 24 32 48 do rm -f ../$size/$icon ln -s ../16/$icon ../$size/$icon done done done true }