diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/thunar |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/thunar')
-rw-r--r-- | extra/thunar/PKGBUILD | 59 | ||||
-rw-r--r-- | extra/thunar/org.freedesktop.udisks.pkla | 7 | ||||
-rw-r--r-- | extra/thunar/thunar.install | 14 |
3 files changed, 80 insertions, 0 deletions
diff --git a/extra/thunar/PKGBUILD b/extra/thunar/PKGBUILD new file mode 100644 index 000000000..b323cd5cd --- /dev/null +++ b/extra/thunar/PKGBUILD @@ -0,0 +1,59 @@ +# $Id: PKGBUILD 112910 2011-03-07 18:29:57Z andyrtr $ +# Maintainer: andyrtr <andyrtr funnychar archlinux.org> +# Contributor: Andrew Simmons <andrew.simmons@gmail.com> + +pkgname=thunar +pkgver=1.2.1 +pkgrel=2 +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>=0.7.1' 'udev' + 'gtk2' 'exo>=0.6.0' 'libxfce4util>=4.8.1' 'libxfce4ui' 'libpng') +makedepends=('intltool' 'gtk-doc' 'xfce4-panel>=4.8.0') +optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems' + 'xfce4-panel: for trash applet' + '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 +backup=('etc/polkit-1/localauthority/50-local.d/org.freedesktop.udisks.pkla') +source=(http://archive.xfce.org/src/xfce/${pkgname}/1.2/Thunar-${pkgver}.tar.bz2 + org.freedesktop.udisks.pkla) +md5sums=('d8dce796890619d67aed0cd7ef84c7b1' + 'a7ddb5eec02d9a8e91a2997862e73cd8') + +build() { + cd ${srcdir}/Thunar-${pkgver} + ./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 \ + --enable-gtk-doc \ + --disable-debug + make +} + +package() { + cd ${srcdir}/Thunar-${pkgver} + 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/ +} diff --git a/extra/thunar/org.freedesktop.udisks.pkla b/extra/thunar/org.freedesktop.udisks.pkla new file mode 100644 index 000000000..5cc443bd1 --- /dev/null +++ b/extra/thunar/org.freedesktop.udisks.pkla @@ -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 diff --git a/extra/thunar/thunar.install b/extra/thunar/thunar.install new file mode 100644 index 000000000..28fdb48fb --- /dev/null +++ b/extra/thunar/thunar.install @@ -0,0 +1,14 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + |