wok view slitaz-configs/receipt @ rev 3799

Upgrade: lxpanel (0.3.8.1 to 0.5.1)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Aug 03 14:27:24 2009 +0000 (2009-08-03)
parents f9381c4b49ca
children dc1c28cf5924
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="3.0"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files, wallpaper and login sound."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-tools xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
9 transset-df tazlito tazpkg slitaz-doc lxtask lxpanel lxappearance \
10 ttf-dejavu pcmanfm openbox obconf slitaz-tools-boxes"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.slitaz.org/"
13 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL"
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
20 cp -a $src/rootfs/etc/xdg/openbox/menu.en.xml $fs/etc/xdg/openbox
21 cp -a $src/rootfs/etc/xdg/openbox/menu.xml $fs/etc/xdg/openbox
22 cp -a $src/rootfs/etc/xdg/openbox/autostart.sh $fs/etc/xdg/openbox
23 cp -a $src/rootfs/etc/xdg/openbox/rc.xml $fs/etc/xdg/openbox
24 cp -a $src/rootfs/etc/skel $fs/etc
25 cp -a $src/rootfs/etc/X11 $fs/etc
26 mkdir $fs/etc/skel/Music $fs/etc/skel/Documents
27 cp -a $src/rootfs/usr $fs
28 cp -a $src/rootfs/root $fs
29 chown -R root.root $fs
30 chmod 0750 $fs/root
31 }
33 post_install()
34 {
35 # By default slim provide a base theme and config file have both
36 # base and slitaz who will be choose randomly, so make sure we use
37 # only slitaz theme.
38 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
39 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
40 $1/etc/slim.conf
41 fi
42 }