wok annotate slitaz-configs/receipt @ rev 3086

slitaz-configs: Fix typo in receipt...
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 16 01:18:38 2009 +0200 (2009-05-16)
parents a981c1bb393d
children 0c36578674ae
rev   line source
pankso@274 1 # SliTaz package receipt.
pankso@274 2
pankso@274 3 PACKAGE="slitaz-configs"
pankso@3082 4 VERSION="3.0"
pankso@274 5 CATEGORY="base-system"
pankso@655 6 SHORT_DESC="SliTaz config files, wallpaper and login sound."
pankso@274 7 MAINTAINER="pankso@slitaz.org"
pankso@3082 8 DEPENDS="slitaz-tools xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
pankso@3082 9 transset-df tazlito tazpkg slitaz-doc lxtask lxpanel lxappearance \
pankso@3082 10 ttf-dejavu pcmanfm openbox obconf slitaz-tools-boxes slitaz-menus"
pankso@274 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@274 12 WEB_SITE="http://www.slitaz.org/"
pankso@1088 13 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL"
pankso@274 14
pankso@274 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@274 16 genpkg_rules()
pankso@274 17 {
pankso@3082 18 # Copy rootfs files from the stuff and set permissions.
pankso@3086 19 mkdir -p $fs/etc/xdg/openbox
pankso@3082 20 cp -a $src/rootfs/etc/xdg/openbox/menu.en.xml $fs/etc/xdg/openbox
pankso@3082 21 cp -a $src/rootfs/etc/xdg/openbox/menu.xml $fs/etc/xdg/openbox
pankso@3082 22 cp -a $src/rootfs/usr $fs
pankso@3082 23 cp -a $src/rootfs/root $fs
pankso@715 24 chown -R root.root $fs
pankso@715 25 chmod 0750 $fs/root
pankso@274 26 }
pankso@2838 27
pankso@2838 28 post_install()
pankso@2838 29 {
pankso@2838 30 # By default slim provide a base theme and config file have both
pankso@2838 31 # base and slitaz who will be choose randomly, so make sure we use
pankso@2838 32 # only slitaz theme.
pankso@2838 33 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
pankso@2838 34 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
pankso@2838 35 $1/etc/slim.conf
pankso@2838 36 fi
pankso@2838 37 }