# Tanım: Thunar dosya yöneticisi
# URL: http://thunar.xfce.org
# Paketçi: milisarge
# Gerekler: libnotify libexif exo xfce4-libui xfce4-panel desktop-file-utils
# Grup: xfce4

isim=thunar
source /root/talimatname/genel/x/xfce4/surumler
surum="${thunar_surum}";[ -z ${thunar_surum} ] && \
surum=1.6.12
devir=1

kaynak=(http://archive.xfce.org/src/xfce/thunar/${surum%.*}/Thunar-$surum.tar.bz2
		no-root-warning.patch)
derle() {
	cd Thunar-$surum
	patch $SRC/Thunar-$surum/thunar/thunar-window.c $SRC/no-root-warning.patch
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-gio-unix \
		--enable-dbus \
		--enable-startup-notification \
		--enable-gudev \
		--enable-notifications \
		--enable-exif \
		--enable-pcre \
		--disable-debug
	make
	make DESTDIR=$PKG install
	sed -i 's:x-directory/gnome-default-handler;::' $PKG/usr/share/applications/Thunar-folder-handler.desktop
	rm -rf $PKG/usr/share/gtk-doc
	rm -rf $PKG/usr/share/man
	rm -rf $PKG/usr/share/doc
}