updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / meego-help-git / PKGBUILD
blob3d0db90f955753b9076145bbe886dc61422c106a
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=meego-help-git
4 pkgver=20110218
5 pkgrel=1
6 pkgdesc="MeeGo help"
7 arch=('i686' 'x86_64')
8 url="http://meego.com"
9 license=('GPL')
10 groups=('meego')
11 depends=('gnome-common' 'intltool' 'dbus-glib')
12 makedepends=('git')
13 provides=('meego-help')
14 conflicts=('meego-help')
16 _gitroot="git://gitorious.org/meego-netbook-ux/meego-help.git"
17 _gitname="meego-help"
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   make
42 package() {
43   cd "$srcdir/$_gitname-build"
44   make DESTDIR="$pkgdir/" install
45