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

Up tazlito (487)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 11:07:16 2018 +0100 (2018-02-26)
parents 0a411c8beacd
children
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/"
10 COOKOPTS="!pngquant"
12 DEPENDS="slim slitaz-configs-base"
13 BUILD_DEPENDS="inkscape optipng"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 theme=$install/usr/share/slim/themes/mascot
19 mkdir -p $theme
21 cp -a $stuff/slim.theme $theme
23 inkscape -f $stuff/slitaz_spider.svg -e $theme/panel.png
25 # link SLiM background to SliTaz desktop background;
26 # system is almost here...
27 cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }
36 post_install()
37 {
38 chroot "$1/" slim-theme -smascot
39 }
41 pre_remove()
42 {
43 chroot "$1/" slim-theme -fmascot
44 }