# SliTaz package receipt.

PACKAGE="xfce4"
VERSION="4.8.0"
CATEGORY="meta"
SHORT_DESC="Xfce Desktop Environment"
MAINTAINER="erjo@slitaz.org"
DEPENDS="libxfce4util xfconf libxfce4ui garcon libexo 
 xfce4-panel thunar xfce4-settings xfce4-session xfwm4 xfdesktop thunar-volman
 thunar-archive-plugin xfce-utils"
SUGGESTED="xfce4-slitaz-config"
WEB_SITE="http://www.xfce.org"

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
}

post_install()
{
	root=$1
	echo "Processing postinstall commands..."
	
	# Adding xfce to SLIM available sessions.
	if ! grep -q xfce $root/etc/slim.conf; then
		sed -i s/,jwm/,jwm,xfce/ $root/etc/slim.conf
	fi
	
	# Adding xfce support to tazx
	
}