1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=meego-panel-status-git
6 pkgdesc="MeeGo status panel"
11 depends=('mutter-meego-git' 'libsocialweb' 'libchamplain' 'geoclue')
12 makedepends=('git' 'intltool')
13 provides=('meego-panel-status')
14 conflicts=('meego-panel-status')
17 _gitroot="git://gitorious.org/meego-netbook-ux/meego-panel-status.git"
18 _gitname="meego-panel-status"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
39 ./configure --prefix=/usr \
45 cd "$srcdir/$_gitname-build"
46 make DESTDIR="$pkgdir/" install