[arch-commits] Commit in thunar/trunk (PKGBUILD org.freedesktop.udisks.pkla)

andyrtr at archlinux.org andyrtr at archlinux.org
Thu Jan 6 14:48:45 EST 2011


    Date: Thursday, January 6, 2011 @ 14:48:45
  Author: andyrtr
Revision: 105134

upgpkg: thunar 1.1.6-3
add dep on udisks; add helpful optional deps; ship udisks permission file

Added:
  thunar/trunk/org.freedesktop.udisks.pkla
Modified:
  thunar/trunk/PKGBUILD

-----------------------------+
 PKGBUILD                    |   24 +++++++++++++++++-------
 org.freedesktop.udisks.pkla |    7 +++++++
 2 files changed, 24 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-06 18:02:00 UTC (rev 105133)
+++ PKGBUILD	2011-01-06 19:48:45 UTC (rev 105134)
@@ -4,22 +4,27 @@
 
 pkgname=thunar
 pkgver=1.1.6
-pkgrel=2
-pkgdesc="new modern file manager for Xfce"
+pkgrel=3
+pkgdesc="modern file manager for Xfce"
 arch=('i686' 'x86_64')
 license=('GPL2' 'LGPL2.1')
 url="http://thunar.xfce.org"
 groups=('xfce4')
 depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify' 'udev'
-         'gtk2' 'exo>=0.5.4' 'libxfce4util>=4.7.3' 'libxfce4ui' 'libpng') # 'fam' - obsolete?
+         'gtk2' 'exo>=0.5.4' 'libxfce4util>=4.7.3' 'libxfce4ui' 'libpng' 'udisks')
 makedepends=('intltool' 'gtk-doc' 'xfce4-panel>=4.7.4')
-optdepends=( # 'gamin:   a fam replacement to make thunar monitor changes to files on the fly'
+optdepends=('gvfs: for addtional device access'
             'xfce4-panel: for trash applet'
-	    'tumbler: for thumbnail previews')
+            'tumbler: for thumbnail previews'
+            'thunar-volman: manages removable devices'
+            'thunar-archive-plugin: create and deflate archives'
+            'thunar-media-tags-plugin: view/edit id3/ogg tags')
 options=('!libtool')
 install=${pkgname}.install
-source=(http://archive.xfce.org/src/xfce/${pkgname}/1.1/Thunar-${pkgver}.tar.bz2)
-md5sums=('a96fdbc0b3d422f864d50374b5d6be41')
+source=(http://archive.xfce.org/src/xfce/${pkgname}/1.1/Thunar-${pkgver}.tar.bz2
+	org.freedesktop.udisks.pkla)
+md5sums=('a96fdbc0b3d422f864d50374b5d6be41'
+         'a7ddb5eec02d9a8e91a2997862e73cd8')
 
 build() {
   cd ${srcdir}/Thunar-${pkgver}
@@ -45,4 +50,9 @@
   make DESTDIR=${pkgdir} install
   sed -i 's:x-directory/gnome-default-handler;::' \
     ${pkgdir}/usr/share/applications/Thunar-folder-handler.desktop
+
+  # install udisks permission file
+  install -dm700 ${pkgdir}/etc/polkit-1/localauthority
+  install -dm755 ${pkgdir}/etc/polkit-1/localauthority/50-local.d
+  install -m644 ${srcdir}/org.freedesktop.udisks.pkla ${pkgdir}/etc/polkit-1/localauthority/50-local.d/
 }

Added: org.freedesktop.udisks.pkla
===================================================================
--- org.freedesktop.udisks.pkla	                        (rev 0)
+++ org.freedesktop.udisks.pkla	2011-01-06 19:48:45 UTC (rev 105134)
@@ -0,0 +1,7 @@
+[Local Users]
+#Identity=unix-user: your_username
+Identity=unix-group:storage
+Action=org.freedesktop.udisks.*
+ResultAny=yes
+ResultInactive=no
+ResultActive=yes



More information about the arch-commits mailing list