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