wok-current diff slim-theme-cat/receipt @ rev 15265
Up cookutils (3.1.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 09:50:51 2013 +0000 (2013-09-25) |
parents | |
children | bc9334796734 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slim-theme-cat/receipt Wed Sep 25 09:50:51 2013 +0000 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slim-theme-cat" 1.7 +VERSION="20130524" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Cat and Spider - theme for SLiM" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="CC-BY" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 + 1.14 +DEPENDS="slim slitaz-configs-base" 1.15 +BUILD_DEPENDS="inkscape optipng" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + mkdir -p $install 1.21 + inkscape -f $stuff/cat_and_spider.svg -e $install/panel.png 1.22 + optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + theme=$fs/usr/share/slim/themes/cat_and_spider 1.29 + mkdir -p $theme 1.30 + # link SLiM background to SliTaz desktop background; 1.31 + # system is almost here... 1.32 + cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg 1.33 + cp -a $install/panel.png $theme 1.34 + cp -a $stuff/slim.theme $theme 1.35 + cp -a $stuff/strings $theme 1.36 +} 1.37 + 1.38 +post_install() 1.39 +{ 1.40 + slim-theme -s cat_and_spider 1.41 +} 1.42 + 1.43 +pre_remove() 1.44 +{ 1.45 + slim-theme -fcat_and_spider 1.46 +}