# Tanım: Xfce4-session, Xfce için bir oturum yöneticisi
# URL: http://www.xfce.org
# Paketçi: milisarge
# Gerekler: gnupg polkit consolekit2 udisks upower xorg-libxres libwnck xfce4-libui xorg-app xlockmore
# Grup: sistem

isim=xfce4-session
surum=4.12.1
devir=3

kaynak=(http://archive.xfce.org/src/xfce/$isim/${surum%.*}/$isim-$surum.tar.bz2
0001-Pass-VT-number-to-xinit-if-XDG_VTNR-is-set.patch
        xfce-polkit-gnome-authentication-agent-1.desktop)
        
derle() {
	cd $isim-$surum
	patch -Np1 -i ../0001-Pass-VT-number-to-xinit-if-XDG_VTNR-is-set.patch
	./configure \
	--prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--localstatedir=/var \
	--disable-static \
	--disable-debug \
	--disable-legacy-sm
	make
	make DESTDIR=$PKG install
	install -d $PKG/etc/xdg/autostart
	cp $SRC/xfce-polkit-gnome-authentication-agent-1.desktop $PKG/etc/xdg/autostart/
}
