wok diff slim-theme-cat/receipt @ rev 19958

slim-theme: disable pngquant (thanks Ceel for report)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 19 05:31:35 2017 +0300 (2017-05-19)
parents 0a411c8beacd
children
line diff
     1.1 --- a/slim-theme-cat/receipt	Thu Jun 02 02:41:24 2016 +0300
     1.2 +++ b/slim-theme-cat/receipt	Fri May 19 05:31:35 2017 +0300
     1.3 @@ -7,6 +7,7 @@
     1.4  MAINTAINER="al.bobylev@gmail.com"
     1.5  LICENSE="CC-BY"
     1.6  WEB_SITE="http://www.slitaz.org/"
     1.7 +COOKOPTS="!pngquant"
     1.8  
     1.9  DEPENDS="slim slitaz-configs-base"
    1.10  BUILD_DEPENDS="inkscape optipng"
    1.11 @@ -14,21 +15,22 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	mkdir -p $install
    1.16 -	inkscape -f $stuff/cat_and_spider.svg -e $install/panel.png
    1.17 -	optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png
    1.18 +	theme=$install/usr/share/slim/themes/cat_and_spider
    1.19 +	mkdir -p $theme
    1.20 +
    1.21 +	cp -a $stuff/slim.theme $theme
    1.22 +
    1.23 +	inkscape -f $stuff/cat_and_spider.svg -e $theme/panel.png
    1.24 +
    1.25 +	# link SLiM background to SliTaz desktop background;
    1.26 +	# system is almost here...
    1.27 +	cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -	theme=$fs/usr/share/slim/themes/cat_and_spider
    1.34 -	mkdir -p $theme
    1.35 -	# link SLiM background to SliTaz desktop background;
    1.36 -	# system is almost here...
    1.37 -	cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
    1.38 -	cp -a $install/panel.png $theme
    1.39 -	cp -a $stuff/slim.theme $theme
    1.40 +	cp -a $install/* $fs
    1.41  }
    1.42  
    1.43  post_install()