updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / meego-panel-status-git / PKGBUILD
blob346f9fb6a906cb21f6e5c13baa3131f7874cadff
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=meego-panel-status-git
4 pkgver=20110219
5 pkgrel=1
6 pkgdesc="MeeGo status panel"
7 arch=('i686' 'x86_64')
8 url="http://meego.com"
9 license=('GPL')
10 groups=('meego')
11 depends=('mutter-meego-git' 'libsocialweb' 'libchamplain' 'geoclue')
12 makedepends=('git' 'intltool')
13 provides=('meego-panel-status')
14 conflicts=('meego-panel-status')
15 options=('!libtool')
17 _gitroot="git://gitorious.org/meego-netbook-ux/meego-panel-status.git"
18 _gitname="meego-panel-status"
20 build() {
21   cd "$srcdir"
22   msg "Connecting to GIT server...."
24   if [ -d $_gitname ] ; then
25     cd $_gitname && git pull origin
26     msg "The local files are updated."
27   else
28     git clone $_gitroot $_gitname
29   fi
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"
38   ./autogen.sh
39   ./configure --prefix=/usr \
40     --libexec=/usr/lib
41   make
44 package() {
45   cd "$srcdir/$_gitname-build"
46   make DESTDIR="$pkgdir/" install
47