updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / compizconfig-backend-gconf-git / PKGBUILD
blob8105d59d3367d57cdb93c938eb4f35558f68439b
1 # Contributor: kasa <biuta.jr@gmail.com>
3 pkgname=compizconfig-backend-gconf-git
4 pkgver=20070815
5 pkgrel=1
6 pkgdesc="Compizconfig backend for gconf"
7 arch=('i686' 'x86_64')
8 url="http://opencompositing.org"
9 license=('GPL')
10 depends=('libcompizconfig-git')
11 makedepends=('git' 'intltool' 'pkgconfig')
12 groups=('compiz-fusion-git')
13 options=('!libtool')
14 source=()
15 md5sums=()
17 _gitroot="git://anongit.opencompositing.org/fusion/compizconfig/compizconfig-backend-gconf"
18 _gitname="compizconfig-backend-gconf"
20 build() {
21   msg "Connecting to opencompositing.org GIT server...."
23   if [[ -d $startdir/src/$_gitname ]] ; then
24     cd $_gitname && git-pull origin
25     msg "The local files are updated."
26   else
27     git clone $_gitroot
28   fi
29   
30   msg "GIT checkout done or server timeout"
31   msg "Starting make..."
33   cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
34   cd $startdir/src/$_gitname-build
36   ACLOCAL="aclocal -I /usr/share/aclocal" ./autogen.sh --host=${CHOST} \
37     --prefix=/usr \
38     --infodir=/usr/share/info \
39     --mandir=/usr/man \
40     --sysconfdir=/etc || return 1
42   make || return 1
43   make DESTDIR=$startdir/pkg install || return 1
45   cd $startdir/src
46   rm -rf $_gitname-build