wok-current view slim-theme-mascot/receipt @ rev 19635

Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 17 17:38:43 2017 +0200 (2017-01-17)
parents dfef8de3d270
children 16bbdc96072c
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-mascot"
4 VERSION="20130527"
5 CATEGORY="customization"
6 SHORT_DESC="Mascot (SliTaz 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/slitaz_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/mascot
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 chroot "$1/" slim-theme -smascot
37 }
39 pre_remove()
40 {
41 chroot "$1/" slim-theme -fmascot
42 }