summaryrefslogtreecommitdiffstats
path: root/thunar-notrash/PKGBUILD
blob: ac83f3d7140291208f7d949f6e35737d5686b4a7 (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
# $Id$
# Maintainer: tobias <tobias funnychar archlinux.org>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=thunar-notrash
pkgver=1.0.1
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.17' 'xfce4-panel>=4.6.1' 'hicolor-icon-theme' 'fam')
makedepends=('intltool' 'pkgconfig')
optdepends=('gamin:   a fam replacement to make thunar monitor changes to files on the fly')
options=('!libtool')
install=${pkgname}.install
source=(http://www.xfce.org/archive/xfce-4.6.1/src/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
  make DESTDIR=${pkgdir} install || return 1
  sed -i 's:x-directory/gnome-default-handler;::' \
    ${pkgdir}/usr/share/applications/Thunar-folder-handler.desktop
}
md5sums=('218373aa45d74b6ba8c69c4d5af3bb19'
         '55816882bbeac5bb1153f0b195a220d7')
sha256sums=('7a2b6b493463756bbc9c54144fab2f2163bc84f0896b4c06fd225d11025a210d'
            'e235ac3f5559d685051bb747b348238a925de32653e8e8c9b8b89c1e0bb56a67')