updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / thunar-devel / PKGBUILD
blob836e07ba05ebce61d723be019847774aa073c715
1 # Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
3 pkgname=thunar-devel
4 pkgver=1.3.0
5 pkgrel=2
6 pkgdesc="Modern file manager for Xfce (Development Version)"
7 arch=('i686' 'x86_64')
8 license=('GPL2' 'LGPL2.1')
9 url="http://thunar.xfce.org"
10 groups=('xfce4-devel') 
11 depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify>=0.7.1' 'udev'
12          'gtk2' 'exo-devel>=0.6.0' 'libxfce4util-devel>=4.8.1' 'libxfce4ui-devel' 'libpng')
13 makedepends=('intltool' 'gtk-doc' 'xfce4-panel-devel>=4.8.0')
14 optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
15             'xfce4-panel-devel: for trash applet'
16             'tumbler-devel: for thumbnail previews'
17             'thunar-volman-devel: manages removable devices'
18             'thunar-archive-plugin-devel: create and deflate archives'
19             'thunar-media-tags-plugin: view/edit id3/ogg tags')
20 options=('!libtool')
21 conflicts=('thunar' 'thunar-git')
22 install=thunar.install
23 backup=('etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla')
24 source=(http://archive.xfce.org/src/xfce/thunar/1.3/Thunar-${pkgver}.tar.bz2
25         org.freedesktop.udisks.pkla)
26 md5sums=('ab6f728384c0d925b40afae2f41268f3'
27          'a7ddb5eec02d9a8e91a2997862e73cd8')
29 build() {
30   cd ${srcdir}/Thunar-${pkgver}
31   ./configure --prefix=/usr \
32         --sysconfdir=/etc \
33         --libexecdir=/usr/lib \
34         --localstatedir=/var \
35         --disable-static \
36         --enable-gio-unix \
37         --enable-dbus \
38         --enable-startup-notification \
39         --enable-gudev \
40         --enable-notifications \
41         --enable-exif \
42         --enable-pcre \
43         --enable-gtk-doc \
44         --disable-debug
45   make
48 package() {
49   cd ${srcdir}/Thunar-${pkgver}
50   make DESTDIR=${pkgdir} install
51   sed -i 's:x-directory/gnome-default-handler;::' \
52     ${pkgdir}/usr/share/applications/Thunar-folder-handler.desktop
54   # install udisks permission file
55   install -dm700 ${pkgdir}/etc/polkit-1/localauthority
56   install -dm755 ${pkgdir}/etc/polkit-1/localauthority/50-local.d
57   install -m644 ${srcdir}/org.freedesktop.udisks.pkla ${pkgdir}/etc/polkit-1/localauthority/50-local.d/