wok-current view tazpanel-theme-sandfive/receipt @ rev 17729
python-prettytable: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 23:06:50 2015 +0100 (2015-03-05) |
parents | |
children | 9e01bc6321ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel-theme-sandfive"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="SliTaz Sand Five theme for TazPanel"
7 MAINTAINER="holkfoor@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://www.slitaz.org/"
11 DEPENDS="tazpanel"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/var/www/tazpanel/styles/sandfive
17 cp -a stuff/* $fs/var/www/tazpanel/styles/sandfive
19 # link absent files with default theme
20 cd $fs/var/www/tazpanel/styles/sandfive
21 for i in favicon.ico footer.html header.html images; do
22 ln -s ../default/$i $i
23 done
24 }
26 # Pre and post install commands for Tazpkg.
27 post_install()
28 {
29 sed -i 's|STYLE=".*"|STYLE="sandfive"|' $1/etc/slitaz/tazpanel.conf
30 }
32 pre_remove()
33 {
34 sed -i 's|STYLE=".*"|STYLE="default"|' $1/etc/slitaz/tazpanel.conf
35 }