wok-6.x diff faenza-icon-theme/receipt @ 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 3a3945a92524
children 2e80ff20fdf2
line diff
     1.1 --- a/faenza-icon-theme/receipt	Fri Nov 28 11:35:23 2014 +0100
     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