wok annotate slitaz-configs/receipt @ rev 7259
Up: xorg-libXi to 1.4.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 14 15:50:21 2010 +0000 (2010-11-14) |
parents | 4d604b6b0130 |
children | c753c126a746 |
rev | line source |
---|---|
pankso@274 | 1 # SliTaz package receipt. |
pankso@274 | 2 |
pankso@274 | 3 PACKAGE="slitaz-configs" |
pankso@7120 | 4 VERSION="4.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@5133 | 10 ttf-dejavu pcmanfm slitaz-tools-boxes" |
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@3090 | 18 # Copy rootfs files from the stuff and set permissions. |
pankso@3086 | 19 mkdir -p $fs/etc/xdg/openbox |
pankso@3090 | 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@3090 | 22 cp -a $src/rootfs/etc/xdg/openbox/autostart.sh $fs/etc/xdg/openbox |
pankso@3090 | 23 cp -a $src/rootfs/etc/xdg/openbox/rc.xml $fs/etc/xdg/openbox |
pankso@3089 | 24 cp -a $src/rootfs/etc/skel $fs/etc |
pankso@3089 | 25 cp -a $src/rootfs/etc/X11 $fs/etc |
pankso@3089 | 26 mkdir $fs/etc/skel/Music $fs/etc/skel/Documents |
pankso@3082 | 27 cp -a $src/rootfs/usr $fs |
pankso@3082 | 28 cp -a $src/rootfs/root $fs |
pankso@715 | 29 chown -R root.root $fs |
pankso@715 | 30 chmod 0750 $fs/root |
pankso@274 | 31 } |
pankso@2838 | 32 |
pankso@2838 | 33 post_install() |
pankso@2838 | 34 { |
pankso@2838 | 35 # By default slim provide a base theme and config file have both |
pankso@2838 | 36 # base and slitaz who will be choose randomly, so make sure we use |
pankso@2838 | 37 # only slitaz theme. |
pankso@2838 | 38 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then |
pankso@2838 | 39 sed -i s/"current_theme .*"/"current_theme slitaz"/ \ |
pankso@2838 | 40 $1/etc/slim.conf |
pankso@2838 | 41 fi |
pankso@2838 | 42 } |