updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / xfconf-git / PKGBUILD
bloba892ef49e9d64298f0d92f3019d802ff0d79d25f
1 # $Id$
2 # Contributor: Jan Jezek <honzin.jezek@gmail.com>
4 pkgname=xfconf-git
5 pkgver=20090925
6 pkgrel=1
7 pkgdesc=" A New Configuration Storage System for Xfce"
8 arch=(i686 x86_64)
9 license=('GPL2')
10 url="http://www.xfce.org/"
11 groups=('xfce4-git')
12 depends=('glib2>=2.6.0' 'libxfce4util-git')
13 makedepends=('subversion' 'pkgconfig' 'xfce4-dev-tools-git')
14 conflicts=('xfconf')
15 replaces=('xfconf')
16 provides=("xfconf=4.7")
17 options=('!libtool')
18 source=()
19 md5sums=()
21 _gitroot="git://git.xfce.org/xfce/xfconf"
22 _gitname="xfconf"
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
41         
42   ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib  \
43     --localstatedir=/var --disable-static
44   make || return 1
45   make DESTDIR=${startdir}/pkg install