# Template file for 'xfce4-session'
pkgname=xfce4-session
version=4.10.0
homepage="http://xfce.org"
distfiles="http://archive.xfce.org/src/xfce/xfce4-session/4.10/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--disable-static --enable-libgnome-keyring"
depends="ConsoleKit-x11 upower udisks hicolor-icon-theme desktop-file-utils"
makedepends="pkg-config intltool libxfce4ui-devel gtk+-devel xfconf-devel dbus-glib-devel libwnck2-devel xfce4-panel-devel ConsoleKit-devel libgnome-keyring-devel iceauth"
revision=1
short_desc="Xfce session manager"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=bb8aa9a74c3d382840596fb4875144d66c7f3f47c8e9ee81d31e3428a72c46ce
long_desc="
 xfce4-session is the session manager for the Xfce desktop environment."

conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
subpackages="$pkgname-devel" 
make_dirs="/etc/polkit-1/localauthority 0700 root root"




post_install() {
	install -dm755 ${DESTDIR}/etc/polkit-1/localauthority/50-local.d
	install -m644 ${FILESDIR}/org.freedesktop.consolekit.pkla \
		${DESTDIR}/etc/polkit-1/localauthority/50-local.d/
	install -m644 ${FILESDIR}/org.freedesktop.upower.pkla \
		${DESTDIR}/etc/polkit-1/localauthority/50-local.d/
}
