wok view slitaz-configs/receipt @ rev 13682

Up gnome-icon-theme (3.6.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 29 10:44:06 2012 +0100 (2012-11-29)
parents 68b1fa2931b0
children 20d2f22a0ecf
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="5.1.2"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files and artwork."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://hg.slitaz.org/slitaz-configs/archive/$TARBALL"
11 CONFIG_FILES="/etc/slitaz/applications.conf"
13 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
14 transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 # Copy rootfs files from the stuff and set permissions.
20 mkdir -p $fs/etc/xdg/openbox $fs/usr/share
21 for f in menu.en.xml menu.xml autostart environment rc.xml
22 do
23 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
24 done
25 # /usr/share
26 for i in applications lxdm slim slitaz
27 do
28 cp -r $src/rootfs/usr/share/$i $fs/usr/share
29 done
30 cp -a $src/rootfs/usr/bin $fs/usr
31 cp -a $src/rootfs/etc/lxpanel $fs/etc
32 cp -a $src/rootfs/etc/slitaz $fs/etc
33 chown -R root.root $fs
34 }
36 post_install()
37 {
38 # By default slim provide a base theme and config file have both
39 # base and slitaz who will be choose randomly, so make sure we use
40 # only slitaz theme.
41 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
42 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
43 $1/etc/slim.conf
44 fi
45 }