wok view slitaz-configs/receipt @ rev 13630

spacefm: remove all call to bash in source files (work nicely with busybox shell)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Nov 14 21:49:55 2012 +0100 (2012-11-14)
parents cbaccc2562f6
children 68b1fa2931b0
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="5.1"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files and artwork."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://mirror.slitaz.org/sources/configs/$PACKAGE-$VERSION.tar.gz"
12 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
13 transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 # Copy rootfs files from the stuff and set permissions.
19 mkdir -p $fs/etc/xdg/openbox $fs/usr/share
20 for f in menu.en.xml menu.xml autostart environment rc.xml
21 do
22 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
23 done
24 # /usr/share
25 for i in applications lxdm slim slitaz
26 do
27 cp -r $src/rootfs/usr/share/$i $fs/usr/share
28 done
29 cp -a $src/rootfs/usr/bin $fs/usr
30 cp -a $src/rootfs/etc/lxpanel $fs/etc
31 chown -R root.root $fs
32 }
34 post_install()
35 {
36 # By default slim provide a base theme and config file have both
37 # base and slitaz who will be choose randomly, so make sure we use
38 # only slitaz theme.
39 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
40 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
41 $1/etc/slim.conf
42 fi
43 }