wok-next diff slim-theme-mascot/receipt @ rev 15791
Add openvpn-down-root (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 16 11:04:41 2014 +0000 (2014-01-16) |
parents | |
children | bc9334796734 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slim-theme-mascot/receipt Thu Jan 16 11:04:41 2014 +0000 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slim-theme-mascot" 1.7 +VERSION="20130527" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Mascot (SliTaz 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/slitaz_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/mascot 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 -smascot 1.41 +} 1.42 + 1.43 +pre_remove() 1.44 +{ 1.45 + slim-theme -fmascot 1.46 +}