summaryrefslogtreecommitdiffstats
path: root/abs/chroot-devel/thunar/PKGBUILD
blob: bc05564e4ee35ee2fb3dc108281a913ef23c7f54 (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

pkgname=thunar
pkgver=0.9.0
pkgrel=2
pkgdesc="new modern file manager for Xfce"
arch=(i686 x86_64)
license=('GPL2' 'LGPL2')
url="http://thunar.xfce.org"
groups=('xfce4') 
depends=('exo>=0.3.4' 'shared-mime-info' 'pcre' \
         'desktop-file-utils' 'libexif' 'hal'  \
         )
makedepends=('intltool' 'pkgconfig')
options=('!libtool')
install=${pkgname}.install
source=(http://www.xfce.org/archive/xfce-4.4.2/src/Thunar-${pkgver}.tar.bz2 \
        http://foo-projects.org/pipermail/thunar-dev/attachments/20071203/a44d5411/thunar-vfs-volume-hal_missing-audio-cds-for-volman.bin \
		  http://bugzilla.xfce.org/attachment.cgi?id=1452
)

build() {
  cd ${startdir}/src/Thunar-${pkgver}
  patch -Np0 -i ../thunar-vfs-volume-hal_missing-audio-cds-for-volman.bin || return 1
  patch -Np0 -i ../attachment.cgi?id=1452 || return 1
  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
    --localstatedir=/var --disable-static \
    --disable-gnome-thumbnailers --enable-exif --enable-pcre --disable-fam
  make || return 1
  make DESTDIR=${startdir}/pkg install
  sed -i 's:x-directory/gnome-default-handler;::' ${startdir}/pkg/usr/share/applications/Thunar-folder-handler.desktop
}