updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / meego-panel-applications-git / PKGBUILD
blob366c4524b7a8d91f66e389214ccd8da56a015490
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=meego-panel-applications-git
4 pkgver=20110218
5 pkgrel=1
6 pkgdesc="MeeGo applications panel"
7 arch=('i686' 'x86_64')
8 url="http://meego.com"
9 license=('GPL')
10 groups=('meego')
11 depends=('mutter-meego-git')
12 makedepends=('git' 'intltool')
13 provides=('meego-panel-applications')
14 conflicts=('meego-panel-applications')
16 _gitroot="git://gitorious.org/meego-netbook-ux/meego-panel-applications.git"
17 _gitname="meego-panel-applications"
19 build() {
20   cd "$srcdir"
21   msg "Connecting to GIT server...."
23   if [ -d $_gitname ] ; then
24     cd $_gitname && git pull origin
25     msg "The local files are updated."
26   else
27     git clone $_gitroot $_gitname
28   fi
30   msg "GIT checkout done or server timeout"
31   msg "Starting make..."
33   rm -rf "$srcdir/$_gitname-build"
34   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35   cd "$srcdir/$_gitname-build"
37   ./autogen.sh
38   ./configure --prefix=/usr \
39     --libexec=/usr/lib
40   make
43 package() {
44   cd "$srcdir/$_gitname-build"
45   make DESTDIR="$pkgdir/" install
46