updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / eom-git / PKGBUILD
blobe3e3329cb1eb74b76b2b9dd260f07e206cefdaf9
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=eom-git
4 pkgver=20110218
5 pkgrel=1
6 pkgdesc="Eye of MeeGo"
7 arch=('i686' 'x86_64')
8 url="http://meego.com"
9 license=('GPL')
10 groups=('meego')
11 depends=('gnome-common' 'clutter-gesture' 'clutter-gst' 'clutter-box2d'
12         'gio-sharp')
13 makedepends=('git' 'intltool')
14 provides=('eom')
15 conflicts=('eom')
16 source=('clutter-gst.patch')
17 md5sums=('ac7a36803e0fe87e916a5762a7946cf8')
19 _gitroot="git://gitorious.org/meego-netbook-ux/eom.git"
20 _gitname="eom"
22 build() {
23   cd "$srcdir"
24   msg "Connecting to GIT server...."
26   if [ -d $_gitname ] ; then
27     cd $_gitname && git pull origin
28     msg "The local files are updated."
29   else
30     git clone $_gitroot $_gitname
31   fi
33   msg "GIT checkout done or server timeout"
34   msg "Starting make..."
36   rm -rf "$srcdir/$_gitname-build"
37   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38   cd "$srcdir/$_gitname-build"
40   patch -Np0 -i ${srcdir}/clutter-gst.patch
42   ./autogen.sh
43   ./configure --prefix=/usr
44   make
47 package() {
48   cd "$srcdir/$_gitname-build"
49   make DESTDIR="$pkgdir/" install
50