updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / metacity-svn / PKGBUILD
blobf9ec78fb68134b11c4196122bb5863ea1c247f9c
1 # Contributor: Matteo Ilgufo <theowlnet@gmail.com>
3 pkgname=metacity-svn
4 _realname=metacity
5 pkgver=3661
6 pkgrel=1
7 pkgdesc="A window manager for GNOME2 - svn version"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('startup-notification>=0.9' 'gconf>=2.19.1')
11 makedepends=('perlxml' 'pkgconfig' 'subversion' 'gnome-common' 'intltool')
12 provides=('metacity')
13 replaces=('metacity')
14 conflicts=('metacity')
15 url="http://www.gnome.org"
16 groups=('gnome')
17 options=('!libtool' '!emptydirs')
18 install=metacity-svn.install
19 source=()
20 md5sums=()
22 _svnmod="metacity-svn"
23 _svntrunk="http://svn.gnome.org/svn/metacity/trunk"
25 build() {
26   cd $startdir/src
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
34   
35   ./autogen.sh --prefix=/usr --enable-compositor \
36                                                 --sysconfdir=/etc --libexecdir=/usr/lib/metacity \
37               --localstatedir=/var --disable-static \
39   make || return 1
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