wok rev 17951

faenza-icon-theme: put icons in to $install.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 16 03:54:14 2015 +0300 (2015-04-16)
parents 6a2eb64d4052
children 2bdb305cb035
files faenza-icon-theme/receipt
line diff
     1.1 --- a/faenza-icon-theme/receipt	Thu Apr 16 03:14:37 2015 +0300
     1.2 +++ b/faenza-icon-theme/receipt	Thu Apr 16 03:54:14 2015 +0300
     1.3 @@ -12,20 +12,26 @@
     1.4  
     1.5  DEPENDS=""
     1.6  
     1.7 -# Rules to gen a SliTaz package suitable for Tazpkg.
     1.8 -genpkg_rules()
     1.9 +# Rules to configure and make the package.
    1.10 +compile_rules()
    1.11  {
    1.12 -	mkdir -p $fs/usr/share/icons
    1.13 -	cd $fs/usr/share/icons
    1.14 +	mkdir -p $install/usr/share/icons
    1.15 +	cd $install/usr/share/icons
    1.16  	tar xf $src/Faenza.tar.gz
    1.17  	tar xf $src/Faenza-Dark.tar.gz
    1.18  	tar xf $src/Faenza-Darkest.tar.gz
    1.19  	tar xf $src/Faenza-Darker.tar.gz
    1.20 +}
    1.21 +
    1.22 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 +genpkg_rules()
    1.24 +{
    1.25 +	cp -a $install/* $fs
    1.26  	# remove big sizes and scalable
    1.27  	rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)')
    1.28  	# remove emblems and extras
    1.29  	rm -rf $(find . -type d -regex '.*/\(emblems\|extras\)')
    1.30 -#	sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
    1.31 +	# sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
    1.32  
    1.33  	for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do
    1.34  		cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme