wok view slim-theme-cat/receipt @ rev 19958

slim-theme: disable pngquant (thanks Ceel for report)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 19 05:31:35 2017 +0300 (2017-05-19)
parents 0a411c8beacd
children
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-cat"
4 VERSION="20130524"
5 CATEGORY="customization"
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/"
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/cat_and_spider
19 mkdir -p $theme
21 cp -a $stuff/slim.theme $theme
23 inkscape -f $stuff/cat_and_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 -s cat_and_spider
39 }
41 pre_remove()
42 {
43 chroot "$1/" slim-theme -fcat_and_spider
44 }