# Maintainer: Natanael Copa pkgname=thunar pkgver=1.1.5 pkgrel=0 pkgdesc="File manager for Xfce" url="http://thunar.xfce.org" license="GPL2 LGPL2" subpackages="$pkgname-dev $pkgname-doc" depends="desktop-file-utils hicolor-icon-theme" makedepends="libexif-dev xfce4-panel-dev exo-dev pcre-dev udev-dev libnotify-dev startup-notification-dev libxfce4ui-dev" install= source="http://archive.xfce.org/src/xfce/thunar/${pkgver%.*}/Thunar-$pkgver.tar.bz2" depends_dev="gtk+-dev glib-dev" _builddir="$srcdir"/Thunar-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --enable-exif \ --enable-pcre make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 sed -i 's:x-directory/gnome-default-handler;::' "$pkgdir"/usr/share/applications/Thunar-folder-handler.desktop } md5sums="c417d6655652d4b9eea334a6b48ba333 Thunar-1.1.5.tar.bz2"