updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / thunar-git / PKGBUILD
blob882764690b5612bff03ea1ce1daa34baf7914762
1 # $Id$
2 # Contributor: Jan Jezek <honzin.jezek@gmail.com>
4 pkgname=thunar-git
5 pkgver=20110109
6 pkgrel=1
7 pkgdesc="New modern file manager for Xfce - migration to GIO."
8 arch=(i686 x86_64)
9 license=('GPL2')
10 url="http://thunar.xfce.org"
11 groups=('xfce4-git')
12 depends=('exo-git' 'libxfce4ui-git' 'gtk2>=2.14.0' 'glib2>=2.18.0' 'desktop-file-utils' 'libexif>=0.6.17' 'dbus' 'fam')
13 makedepends=('git' 'intltool' 'pkgconfig' 'xfce4-dev-tools-git')
14 conflicts=('thunar' 'thunar-devel')
15 replaces=('thunar' 'thunar-devel')
16 options=('!libtool')
17 install=${pkgname}.install
18 source=()
19 md5sums=()
22 _gitroot="git://git.xfce.org/xfce/thunar"
23 _gitname="thunar"
24 build() {
25     
26     cd $srcdir
27     msg "Getting sources..."
28     
29     if [ -d "$srcdir/$_gitname" ] ; then
30          cd $_gitname && git pull origin
31          msg "The local files are updated."
32         else
33          git clone $_gitroot
34         fi
36 msg "GIT checkout done or server timeout"
37 msg "Starting build..."
39         cd $srcdir/$_gitname
40     
41   ./autogen.sh  
42   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib  \
43     --localstatedir=/var --disable-static \
44     --disable-gnome-thumbnailers --enable-exif --enable-pcre --enable-maintainer-mode
45   make || return 1
46   make DESTDIR=${startdir}/pkg install
47   sed -i 's:x-directory/gnome-default-handler;::' ${startdir}/pkg/usr/share/applications/Thunar-folder-handler.desktop