updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / moblin-session-git / PKGBUILD
blob987c7a0ce80f52db9a0cf736bcd38234109bc590
1 # Maintainer: Alex Anthony <alex.anthony28991@googlemail.com>
3 pkgname=moblin-session-git
4 _pkgname=moblin-session
5 pkgver=20090809
6 pkgrel=1
7 pkgdesc="The script to make moblin into a session"
8 arch=('i686' 'x86_64')
9 url="http://www.moblin.org"
10 license=('GPL')
11 depends=('bash')
12 makedepends=('git')
13 provides=($_pkgname)
14 conflicts=($_pkgname)
15 _gitroot=git://git.moblin.org/${_pkgname}
16 _gitname=${_pkgname}
17 source=('mutter-plugins.patch')
18 md5sums=('ce6cc5c370ef21c5cabdde436c34508f')
19 groups=('moblin-git')
21 build() {
22   cd $startdir/src
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
29     else
30    git clone $_gitroot $_gitname || return 1
31      fi
32   msg " checkout done."
33   cd $srcdir || return 1
34   cp -r $_gitname $_gitname-build
35   patch -p0 < mutter-plugins.patch || return 1
36    cd $_gitname-build || return 1
37     make DESTDIR=$pkgdir install || return 1
39     # Merge gconf schemas in a single file
40 #    install -d m755 $pkgdir/usr/share/gconf/schemas || return 1
41 #    gconf-merge-schema $pkgdir/usr/share/gconf/schemas/epiphany.schemas 
42 #        $pkgdir/etc/gconf/schemas/*.schemas || return 1
43 #    rm -rf $pkgdir/etc