1 # Maintainer: Markus Unterwaditzer <markus at unterwaditzer dot net>
2 # Contributor: Jussi Timperi <jussi.timperi at gmail dot com>
3 # Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
4 # Contributor: Ionut Biru <ibiru@archlinux.org>
5 # Contributor: Michael Kanis <mkanis_at_gmx_dot_de>
7 pkgname=shellshape-mutter-git
10 pkgdesc="A window manager for GNOME3, forked for shellshape"
13 depends=('startup-notification' 'gconf' 'zenity' 'libcanberra' 'clutter' 'gobject-introspection')
14 makedepends=('intltool' 'gnome-doc-utils' 'git' 'gnome-common')
15 conflicts=('mutter' 'shellshape-mutter')
16 provides=('mutter' 'shellshape-mutter')
17 url="http://gfxmonk.net/shellshape/"
18 options=('!libtool' '!emptydirs')
19 install=mutter.install
23 _gitroot="git://github.com/gfxmonk/mutter.git"
24 _gitname="shellshape-mutter"
28 msg "Connecting to GIT server...."
30 if [ -d $_gitname ] ; then
31 cd $_gitname && git pull origin
32 msg "The local files are updated."
34 git clone $_gitroot $_gitname
36 git checkout shellshape_3.2
40 msg "GIT checkout done or server timeout"
41 msg "Starting make..."
43 rm -rf "$srcdir/$_gitname-build"
44 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
45 cd "$srcdir/$_gitname-build"
46 git checkout shellshape_3.2
48 ./autogen.sh --prefix=/usr --sysconfdir=/etc \
49 --libexecdir=/usr/lib/mutter \
50 --localstatedir=/var --disable-static
55 cd "${srcdir}/$_gitname-build"
56 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
58 install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
59 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/mutter.schemas" --domain mutter ${pkgdir}/etc/gconf/schemas/*.schemas
60 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas