wok-4.x annotate slitaz-configs/receipt @ rev 2838
slim: Avoid dep on slitaz-configs/GTK and add slim-theme-default
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 30 20:44:27 2009 +0200 (2009-04-30) |
parents | e21d9d3b7188 |
children | a981c1bb393d |
rev | line source |
---|---|
pankso@274 | 1 # SliTaz package receipt. |
pankso@274 | 2 |
pankso@274 | 3 PACKAGE="slitaz-configs" |
pankso@2749 | 4 VERSION="2.8" |
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@1068 | 8 DEPENDS="slitaz-tools xorg-libXcomposite xorg-libXdamage xorg-xcompmgr |
pankso@1068 | 9 transset-df tazlito tazpkg slitaz-doc lxtask lxpanel lxappearance |
pankso@2093 | 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@274 | 18 # Copy all rootfs from the stuff and set permissions. |
pankso@274 | 19 cp -a $src/rootfs/* $fs |
pankso@715 | 20 chown -R root.root $fs |
pankso@715 | 21 chmod 0750 $fs/root |
pankso@274 | 22 } |
pankso@2838 | 23 |
pankso@2838 | 24 post_install() |
pankso@2838 | 25 { |
pankso@2838 | 26 # By default slim provide a base theme and config file have both |
pankso@2838 | 27 # base and slitaz who will be choose randomly, so make sure we use |
pankso@2838 | 28 # only slitaz theme. |
pankso@2838 | 29 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then |
pankso@2838 | 30 sed -i s/"current_theme .*"/"current_theme slitaz"/ \ |
pankso@2838 | 31 $1/etc/slim.conf |
pankso@2838 | 32 fi |
pankso@2838 | 33 } |