1 # Maintainer: Florian Pritz <flo@xssn.at>
7 pkgdesc="modern file manager for Xfce with patch to disable trash"
9 license=('GPL2' 'LGPL2.1')
10 url="http://thunar.xfce.org"
13 provides=("thunar=$pkgver")
14 depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify' 'udev'
15 'gtk2' 'exo>=0.6.0' 'libxfce4util>=4.8.1' 'libxfce4ui' 'libpng')
16 makedepends=('intltool' 'gtk-doc' 'xfce4-panel>=4.8.0')
17 optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
18 'xfce4-panel: for trash applet'
19 'tumbler: for thumbnail previews'
20 'thunar-volman: manages removable devices'
21 'thunar-archive-plugin: create and deflate archives'
22 'thunar-media-tags-plugin: view/edit id3/ogg tags')
24 install=thunar-notrash.install
25 backup=('etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla')
26 source=(http://archive.xfce.org/src/xfce/thunar/1.3/Thunar-${pkgver}.tar.bz2
27 Ability_to_disable_trash_on_Thunar_$pkgver.patch
28 org.freedesktop.udisks.pkla)
30 md5sums=('ab6f728384c0d925b40afae2f41268f3'
31 'a2c1ccb1148667395bb3e1f27ba9d467'
32 'a7ddb5eec02d9a8e91a2997862e73cd8')
35 cd ${srcdir}/Thunar-${pkgver}
36 patch -p2 < $srcdir/Ability_to_disable_trash_on_Thunar_$pkgver.patch
38 ./configure --prefix=/usr \
40 --libexecdir=/usr/lib \
41 --localstatedir=/var \
45 --enable-startup-notification \
47 --enable-notifications \
56 cd ${srcdir}/Thunar-${pkgver}
57 make DESTDIR=${pkgdir} install
58 sed -i 's:x-directory/gnome-default-handler;::' \
59 ${pkgdir}/usr/share/applications/Thunar-folder-handler.desktop
61 # install udisks permission file
62 install -dm700 ${pkgdir}/etc/polkit-1/localauthority
63 install -dm755 ${pkgdir}/etc/polkit-1/localauthority/50-local.d
64 install -m644 ${srcdir}/org.freedesktop.udisks.pkla ${pkgdir}/etc/polkit-1/localauthority/50-local.d/