wok diff slim-theme-robotic/receipt @ rev 15692

dpkg: Fix missing mkdir command
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 08:21:32 2013 +0100 (2013-12-21)
parents
children dfef8de3d270
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slim-theme-robotic/receipt	Sat Dec 21 08:21:32 2013 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="slim-theme-robotic"
     1.7 +VERSION="1.0-20130609"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Robotic - theme for SLiM"
    1.10 +MAINTAINER="holkfoor@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=""
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	theme=$fs/usr/share/slim/themes/robotic
    1.21 +	mkdir -p $theme
    1.22 +	cp -a $stuff/* $theme
    1.23 +}
    1.24 +
    1.25 +post_install()
    1.26 +{
    1.27 +	slim-theme -srobotic
    1.28 +}
    1.29 +
    1.30 +pre_remove()
    1.31 +{
    1.32 +	slim-theme -frobotic
    1.33 +}