wok annotate slitaz-configs/receipt @ rev 13543

slitaz-configs: add edit-dot-*
author Richard Dunbar <mojo@slitaz.org>
date Tue Oct 30 01:42:07 2012 +0000 (2012-10-30)
parents cbaccc2562f6
children 68b1fa2931b0
rev   line source
pankso@274 1 # SliTaz package receipt.
pankso@274 2
pankso@274 3 PACKAGE="slitaz-configs"
pankso@12466 4 VERSION="5.1"
pankso@274 5 CATEGORY="base-system"
pankso@12411 6 SHORT_DESC="SliTaz config files and artwork."
pankso@274 7 MAINTAINER="pankso@slitaz.org"
pankso@274 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@274 9 WEB_SITE="http://www.slitaz.org/"
pankso@12411 10 WGET_URL="http://mirror.slitaz.org/sources/configs/$PACKAGE-$VERSION.tar.gz"
pankso@274 11
pankso@12161 12 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
pankso@12411 13 transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
pankso@12161 14
pankso@274 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@274 16 genpkg_rules()
pankso@12684 17 {
pankso@3090 18 # Copy rootfs files from the stuff and set permissions.
pankso@12411 19 mkdir -p $fs/etc/xdg/openbox $fs/usr/share
pankso@12684 20 for f in menu.en.xml menu.xml autostart environment rc.xml
pankso@9505 21 do
slaxemulator@9560 22 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
pankso@9505 23 done
pankso@12411 24 # /usr/share
pankso@12411 25 for i in applications lxdm slim slitaz
pankso@12411 26 do
pankso@12411 27 cp -r $src/rootfs/usr/share/$i $fs/usr/share
pankso@12411 28 done
mojo@13543 29 cp -a $src/rootfs/usr/bin $fs/usr
pankso@9505 30 cp -a $src/rootfs/etc/lxpanel $fs/etc
pankso@715 31 chown -R root.root $fs
pankso@274 32 }
pankso@2838 33
pankso@2838 34 post_install()
pankso@2838 35 {
pankso@2838 36 # By default slim provide a base theme and config file have both
pankso@2838 37 # base and slitaz who will be choose randomly, so make sure we use
pankso@2838 38 # only slitaz theme.
pankso@2838 39 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
pankso@2838 40 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
pankso@2838 41 $1/etc/slim.conf
pankso@2838 42 fi
pankso@2838 43 }