updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / mutter-moblin-git / PKGBUILD
blob2ac9496630ea7e679afa8ee60c0714a5bb396d0c
1 # Maintainer: Alex Anthony <alex.anthony28991@googlemail.com>
3 pkgname=mutter-moblin-git
4 _pkgname=mutter-moblin
5 pkgver=20090901
6 pkgrel=1
7 pkgdesc="The Moblin plugin for mutter."
8 arch=('i686' 'x86_64')
9 url="http://www.moblin.org"
10 license=('GPL')
11 depends=('mutter4moblin-git' 'nbtk-git' 'gtk2' 'gconf' 'mojito-git' 
12 'jana-git' 
13 'libsoup' 'evolution-data-server' 'gnome-menus')
14 #'moblin-web-browser-git')
15 makedepends=('git')
16 optdepends=('dates: events in myzone'
17             'tasks: tasks in myzone')
18 provides=($_pkgname)
19 conflicts=($_pkgname)
20 _gitroot=git://git.moblin.org/${_pkgname}
21 _gitname=${_pkgname}
22 options=()
23 groups=('moblin-git')
25 build() {
26   cd $startdir/src
27   msg "Connecting to moblin.org git server...."
28   rm  -rf $startdir/src/$_gitname-build
30   if [[ -d $_gitname ]]; then
31    cd $_gitname || return 1
32    git pull origin || return 1
33     else
34    git clone $_gitroot $_gitname || return 1
35      fi
36   msg " checkout done."
37   cd $srcdir || return 1
38   cp -r $_gitname $_gitname-build
40    cd $_gitname-build || return 1
42     ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
43     --enable-ahoghill \
44     --enable-people || return 1
45 #    --enable-netpanel || return 1
46     make || return 1
47     make DESTDIR=$pkgdir install || return 1
49     # Merge gconf schemas in a single file
50 #    install -d m755 $pkgdir/usr/share/gconf/schemas || return 1
51 #    gconf-merge-schema $pkgdir/usr/share/gconf/schemas/epiphany.schemas 
52 #        $pkgdir/etc/gconf/schemas/*.schemas || return 1
53 #    rm -rf $pkgdir/etc