wok-current view slitaz-configs/receipt @ rev 14824

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