updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / thunar-vfs-git / PKGBUILD
blob16e756175a27854240cec7f6226ff833eebf3bc3
1 # $Id$
2 # Contributor: Jan Jezek <honzin.jezek@gmail.com>
4 pkgname=thunar-vfs-git
5 pkgver=20111110
6 pkgrel=1
7 pkgdesc="Thunar is a modern file manager for the Unix/Linux desktop, aiming to be
8 easy-to-use and fast."
9 url="http://thunar.xfce.org"
10 arch=('i686' 'x86_64')
11 license=('GPL2')
12 groups=('xfce4-git')
13 depends=('thunar-git' 'libpng12')
14 makedepends=('git' 'intltool' 'pkgconfig' 'xfce4-dev-tools-git')
15 options=('!libtool')
17 _gitroot="git://git.xfce.org/xfce/thunar-vfs"
18 _gitname="thunar-vfs"
20 build() {
21     
22     cd $srcdir
23     msg "Getting sources..."
24     
25     if [ -d "$srcdir/$_gitname" ] ; then
26          cd $_gitname && git pull origin
27          msg "The local files are updated."
28         else
29          git clone $_gitroot
30         fi
32 msg "GIT checkout done or server timeout"
33 msg "Starting build..."
35   cd $srcdir/$_gitname
37   ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
38     --localstatedir=/var --disable-static || return 1
39   make || return 1
40   make DESTDIR=${startdir}/pkg install || return 1