wok-current diff slim-theme-7legs/receipt @ rev 14969

Up: firefox-langpack-it (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:20:01 2013 +0200 (2013-08-08)
parents
children bc9334796734
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slim-theme-7legs/receipt	Thu Aug 08 22:20:01 2013 +0200
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="slim-theme-7legs"
     1.7 +VERSION="20130527"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Seven legged 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/7_legged_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/7_legged_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 -s7_legged_spider
    1.41 +}
    1.42 +
    1.43 +pre_remove()
    1.44 +{
    1.45 +	slim-theme -f7_legged_spider
    1.46 +}