1 # Contributor: Matteo Ilgufo <theowlnet@gmail.com>
7 pkgdesc="A window manager for GNOME2 - svn version"
10 depends=('startup-notification>=0.9' 'gconf>=2.19.1')
11 makedepends=('perlxml' 'pkgconfig' 'subversion' 'gnome-common' 'intltool')
14 conflicts=('metacity')
15 url="http://www.gnome.org"
17 options=('!libtool' '!emptydirs')
18 install=metacity-svn.install
22 _svnmod="metacity-svn"
23 _svntrunk="http://svn.gnome.org/svn/metacity/trunk"
27 msg "Connecting to svn.gnome.org svn server...."
28 svn co $_svntrunk $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 cd $startdir/src/$_svnmod
35 ./autogen.sh --prefix=/usr --enable-compositor \
36 --sysconfdir=/etc --libexecdir=/usr/lib/metacity \
37 --localstatedir=/var --disable-static \
40 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
42 mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
43 gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/metacity.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
44 rm -f ${startdir}/pkg/etc/gconf/schemas/*.schemas