wok-next diff slim-theme-control/receipt @ rev 20978

Small improvements
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Sep 27 01:34:11 2018 +0300 (2018-09-27)
parents 0a411c8beacd
children d5aab818505e
line diff
     1.1 --- a/slim-theme-control/receipt	Thu Jun 02 02:41:24 2016 +0300
     1.2 +++ b/slim-theme-control/receipt	Thu Sep 27 01:34:11 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="slim-theme-control"
     1.8  VERSION="1.0-20130609"
     1.9 @@ -8,23 +8,23 @@
    1.10  LICENSE="CC-BY"
    1.11  WEB_SITE="http://www.slitaz.org/"
    1.12  
    1.13 -DEPENDS="slim slitaz-configs-base"
    1.14 -BUILD_DEPENDS=""
    1.15 +COOKOPTS="!pngquant"
    1.16  
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	theme=$fs/usr/share/slim/themes/control
    1.21 +compile_rules() {
    1.22 +	theme="$install/usr/share/slim/themes/control"
    1.23  	mkdir -p $theme
    1.24 -	cp -a $stuff/* $theme
    1.25 +	cp -r $stuff/* $theme
    1.26  }
    1.27  
    1.28 -post_install()
    1.29 -{
    1.30 +genpkg_rules() {
    1.31 +	copy @std
    1.32 +	DEPENDS="slim slitaz-configs-base"
    1.33 +}
    1.34 +
    1.35 +post_install() {
    1.36  	chroot "$1/" slim-theme -scontrol
    1.37  }
    1.38  
    1.39 -pre_remove()
    1.40 -{
    1.41 +pre_remove() {
    1.42  	chroot "$1/" slim-theme -fcontrol
    1.43  }