wok-current view slim-theme-cat/receipt @ rev 17324

Add e2tools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 04 19:06:05 2014 +0100 (2014-11-04)
parents d0948455b365
children dfef8de3d270
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-cat"
4 VERSION="20130524"
5 CATEGORY="x-window"
6 SHORT_DESC="Cat and Spider - theme for SLiM"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="CC-BY"
9 WEB_SITE="http://www.slitaz.org/"
11 DEPENDS="slim slitaz-configs-base"
12 BUILD_DEPENDS="inkscape optipng"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $install
18 inkscape -f $stuff/cat_and_spider.svg -e $install/panel.png
19 optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 theme=$fs/usr/share/slim/themes/cat_and_spider
26 mkdir -p $theme
27 # link SLiM background to SliTaz desktop background;
28 # system is almost here...
29 cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
30 cp -a $install/panel.png $theme
31 cp -a $stuff/slim.theme $theme
32 }
34 post_install()
35 {
36 slim-theme -s cat_and_spider
37 }
39 pre_remove()
40 {
41 slim-theme -fcat_and_spider
42 }