wok-current view xfce4/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents eb8067417980
children d6ca18366f41
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4"
4 VERSION="4.10.0"
5 CATEGORY="meta"
6 SHORT_DESC="Xfce Desktop Environment"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="xfce4-slitaz-config"
10 WEB_SITE="http://www.xfce.org"
12 DEPENDS="libxfce4util xfconf libxfce4ui garcon libexo
13 xfce4-panel thunar xfce4-settings xfce4-session xfwm4 xfdesktop thunar-volman
14 thunar-archive-plugin xfce-utils"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr
20 }
22 post_install()
23 {
24 echo "Processing postinstall commands..."
26 # Adding xfce to SLIM available sessions.
27 if ! grep -q xfce "$1/etc/slim.conf"; then
28 sed -i s/,jwm/,jwm,xfce/ "$1/etc/slim.conf"
29 fi
31 # Adding xfce support to tazx
33 }