wok view slitaz-configs/receipt @ rev 14201

linux-libre: version renamed !
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 14 09:29:17 2013 +0100 (2013-03-14)
parents fc1973ec58b8
children 99b42fdb85c9
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="5.1.3"
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 }