wok annotate slitaz-configs/receipt @ rev 14803

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