wok-current view 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 |
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 }