1 # Maintainer: Alex Anthony <alex.anthony28991@googlemail.com>
3 pkgname=mutter4moblin-git
7 pkgdesc="The next-gen WM for gnome, with compositing by clutter (moblin
10 url="http://www.gnome.org"
12 depends=('clutter-git' 'zenity' 'gconf')
13 makedepends=('git' 'gnome-common' 'gobject-introspection')
16 _gitroot=git://git.moblin.org/${_pkgname}
18 install=mutter.install
23 msg "Connecting to moblin.org git server...."
24 rm -rf $startdir/src/$_gitname-build
26 if [[ -d $_gitname ]]; then
27 cd $_gitname || return 1
28 git pull origin || return 1
30 git clone $_gitroot $_gitname || return 1
33 cd $srcdir || return 1
34 cp -r $_gitname $_gitname-build
36 cd $_gitname-build || return 1
38 ./autogen.sh --prefix=/usr \
39 --sysconfdir=/etc --localstatedir=/var \
40 --with-clutter || return 1
42 make DESTDIR=$pkgdir install || return 1
44 # Merge gconf schemas in a single file
45 install -d m755 $pkgdir/usr/share/gconf/schemas || return 1
46 gconf-merge-schema $pkgdir/usr/share/gconf/schemas/metacity.schemas $pkgdir/etc/gconf/schemas/*.schemas || return 1