wok-stable view slitaz-configs/receipt @ rev 9452
Up: iron-linux (10.0.650.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Apr 02 19:44:29 2011 +0000 (2011-04-02) |
parents | 709319a5d2c3 |
children | 259a7cbac8c3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="4.1"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files, wallpaper and login sound."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
9 transset-df lxtask lxpanel lxappearance ttf-dejavu pcmanfm slitaz-tools-boxes"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.slitaz.org/"
12 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 # Copy rootfs files from the stuff and set permissions.
18 mkdir -p $fs/etc/xdg/openbox
19 cp -a $src/rootfs/etc/xdg/openbox/menu.en.xml $fs/etc/xdg/openbox
20 cp -a $src/rootfs/etc/xdg/openbox/menu.xml $fs/etc/xdg/openbox
21 cp -a $src/rootfs/etc/xdg/openbox/autostart.sh $fs/etc/xdg/openbox
22 cp -a $src/rootfs/etc/xdg/openbox/rc.xml $fs/etc/xdg/openbox
23 chown -R root.root $fs
24 }
26 post_install()
27 {
28 # By default slim provide a base theme and config file have both
29 # base and slitaz who will be choose randomly, so make sure we use
30 # only slitaz theme.
31 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
32 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
33 $1/etc/slim.conf
34 fi
35 }