# HG changeset patch # User Aleksej Bobylev # Date 1495283880 -10800 # Node ID 339e5922ddeae9dbbf4bff44a43f92f296a142da # Parent 16bbdc96072c60edf8300d8288f9eb340e6945f3 slim-theme-control: add compile_rules(); files processing following it. diff -r 16bbdc96072c -r 339e5922ddea slim-theme-control/receipt --- a/slim-theme-control/receipt Fri May 19 05:31:35 2017 +0300 +++ b/slim-theme-control/receipt Sat May 20 15:38:00 2017 +0300 @@ -12,12 +12,18 @@ DEPENDS="slim slitaz-configs-base" BUILD_DEPENDS="" +# Rules to configure and make the package. +compile_rules() +{ + theme=$install/usr/share/slim/themes/control + mkdir -p $theme + cp -a $stuff/* $theme +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - theme=$fs/usr/share/slim/themes/control - mkdir -p $theme - cp -a $stuff/* $theme + cp -a $install/* $fs } post_install()