summaryrefslogtreecommitdiff
path: root/extra/thunar
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-04 23:14:51 +0000
committerroot <root@rshg054.dnsready.net>2011-11-04 23:14:51 +0000
commit3026bb55941e3b04b56f5fb41b88941c6c2ce0cd (patch)
tree576b183074d925e58c2e37ae2b641e712bceacb1 /extra/thunar
parentb625511a28fd8401f524474b5339e75328595150 (diff)
Fri Nov 4 23:14:51 UTC 2011
Diffstat (limited to 'extra/thunar')
-rw-r--r--extra/thunar/PKGBUILD66
-rw-r--r--extra/thunar/thunar.install6
2 files changed, 34 insertions, 38 deletions
diff --git a/extra/thunar/PKGBUILD b/extra/thunar/PKGBUILD
index ff393d892..247660553 100644
--- a/extra/thunar/PKGBUILD
+++ b/extra/thunar/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 138370 2011-09-21 09:30:05Z tpowa $
-# Maintainer: andyrtr <andyrtr funnychar archlinux.org>
+# $Id: PKGBUILD 142015 2011-11-04 03:17:01Z foutrelis $
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
pkgname=thunar
pkgver=1.2.3
-pkgrel=1
-pkgdesc="modern file manager for Xfce"
+pkgrel=2
+pkgdesc="Modern file manager for Xfce"
arch=('i686' 'x86_64')
-license=('GPL2' 'LGPL2.1')
url="http://thunar.xfce.org"
+license=('GPL2' 'LGPL2.1')
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')
+depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify' 'udev'
+ 'gtk2' 'exo' 'libxfce4util' 'libxfce4ui' 'libpng')
+makedepends=('intltool' 'gtk-doc' 'xfce4-panel')
optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems'
'xfce4-panel: for trash applet'
'tumbler: for thumbnail previews'
@@ -20,40 +20,36 @@ optdepends=('gvfs: for trash support, mounting with udisk and remote filesystems
'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)
+install=$pkgname.install
+source=(http://archive.xfce.org/src/xfce/${pkgname}/1.2/Thunar-${pkgver}.tar.bz2)
+sha256sums=('e66aa9ad61a9202e15cc7c5fffc7b961da9ab3b4428f874c1ec8e46eb4ffaca6')
build() {
- cd ${srcdir}/Thunar-${pkgver}
+ 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
+ --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}
+ 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/
+ "$pkgdir/usr/share/applications/Thunar-folder-handler.desktop"
}
-md5sums=('0a2c36cdd3cb3a2ab52cbf6055415b85'
- 'a7ddb5eec02d9a8e91a2997862e73cd8')
+
+# vim:set ts=2 sw=2 et:
diff --git a/extra/thunar/thunar.install b/extra/thunar/thunar.install
index 28fdb48fb..87c29e4db 100644
--- a/extra/thunar/thunar.install
+++ b/extra/thunar/thunar.install
@@ -4,11 +4,11 @@ post_install() {
}
post_upgrade() {
- post_install $1
+ post_install
}
post_remove() {
- update-desktop-database -q
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ post_install
}
+# vim:set ts=2 sw=2 et: