wok diff faenza-icon-theme-emblems/receipt @ rev 23052

gnustep-base: fix libffi path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 17:04:10 2020 +0100 (2020-03-06)
parents 40fab26c175d
children
line diff
     1.1 --- a/faenza-icon-theme-emblems/receipt	Mon May 09 21:59:10 2016 +0300
     1.2 +++ b/faenza-icon-theme-emblems/receipt	Fri Mar 06 17:04:10 2020 +0100
     1.3 @@ -1,39 +1,43 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="faenza-icon-theme-emblems"
     1.7 -VERSION="1.3"
     1.8 +VERSION="1.3.1"
     1.9  CATEGORY="customization"
    1.10 -SHORT_DESC="Faenza icon theme (emblems)"
    1.11 +SHORT_DESC="Faenza icon theme (emblems)."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL3"
    1.14 -WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
    1.15 +WEB_SITE="https://deviantart.com/tiheum/art/Faenza-Icons-173323228"
    1.16  
    1.17 +DEPENDS="faenza-icon-theme"
    1.18  WANTED="faenza-icon-theme"
    1.19 -DEPENDS="faenza-icon-theme"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/share/icons
    1.25 -	cd $fs/usr/share/icons
    1.26 -	tar xf $src/Faenza.tar.gz Faenza/emblems
    1.27 +	mkdir -p $fs/usr/share/icons/Faenza
    1.28 +	cd	$fs/usr/share/icons/Faenza
    1.29 +	cp -a $src/Faenza/emblems	.
    1.30 +
    1.31  	# remove big sizes and scalable
    1.32  	rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)')
    1.33  	# SliTaz locale settings
    1.34  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.35 +
    1.36  	cd $fs/usr/share/icons/Faenza/emblems/16
    1.37 -	for icon in $(ls -1 *.icon); do
    1.38 -		CONTENT=$(cat $icon);
    1.39 -		echo "[Icon Data]" > $icon;
    1.40 -		echo "$CONTENT" | grep 'DisplayName=' >> $icon;
    1.41 -		for lang in $LOCALE_PACK; do
    1.42 -			echo "$CONTENT" | fgrep "DisplayName["$lang"]=" >> $icon;
    1.43 -			for size in 22 24 32 48; do
    1.44 +	for icon in $(ls -1 *.icon)
    1.45 +	  do
    1.46 +		CONTENT=$(cat $icon)
    1.47 +		echo "[Icon Data]" > $icon
    1.48 +		echo "$CONTENT" | grep 'DisplayName=' >> $icon
    1.49 +		for lang in $LOCALE_PACK
    1.50 +		  do
    1.51 +			echo "$CONTENT" | fgrep "DisplayName["$lang"]=" >> $icon
    1.52 +			for size in 22 24 32 48
    1.53 +			  do
    1.54  				rm -f ../$size/$icon
    1.55  				ln -s ../16/$icon ../$size/$icon
    1.56 -			done
    1.57 -		done
    1.58 -	done
    1.59 +			  done
    1.60 +		  done
    1.61 +	  done
    1.62  	true
    1.63  }
    1.64 -