summaryrefslogtreecommitdiffstats
path: root/thunar-notrash/PKGBUILD
blob: 0bae7d727f3f649cce82945d2342bf255540226a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $Id$
# Maintainer: tobias <tobias funnychar archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=thunar-notrash
pkgver=1.0.2
pkgrel=1
pkgdesc="new modern file manager for Xfce with patch to disable trash"
arch=(i686 x86_64)
license=('GPL2' 'LGPL2')
url="http://thunar.xfce.org"
groups=('xfce4')
conflicts=(thunar)
provides=("thunar=$pkgver")
depends=('desktop-file-utils' 'libexif>=0.6.19' 'hicolor-icon-theme' 'fam' \
             'gtk2' 'exo>=0.3.107' 'libxfce4util>=4.6.2' 'hal>=0.5.14' 'libpng' 'libjpeg>=8.0.1' 'startup-notification')
makedepends=('intltool' 'pkgconfig' 'xfce4-panel>=4.6.4')
optdepends=('gamin:   a fam replacement to make thunar monitor changes to files on the fly')
options=('!libtool')
install=${pkgname}.install
source=(http://archive.xfce.org/src/xfce/thunar/1.0/Thunar-${pkgver}.tar.bz2 
    Ability_to_disable_trash_on_Thunar.patch)

build() {
  cd ${srcdir}/Thunar-${pkgver}
  patch -p2 < $srcdir/Ability_to_disable_trash_on_Thunar.patch

  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
    --localstatedir=/var --disable-static \
    --disable-gnome-thumbnailers --enable-exif --enable-pcre \
    --disable-wallpaper-plugin
  make || return 1
}

package() {
  cd ${srcdir}/Thunar-${pkgver}
  make DESTDIR=${pkgdir} install || return 1
  sed -i 's:x-directory/gnome-default-handler;::' \
    ${pkgdir}/usr/share/applications/Thunar-folder-handler.desktop
}
md5sums=('c91073202d373a1f9951a1240083c36d'
         '55816882bbeac5bb1153f0b195a220d7')
sha1sums=('f7ae00c32402e4bc502aba15477b78e2c558c7c3'
          'c4b110b2a83b6d7b88e04bb550d20c598ffe6f82')