1 # Maintainer: Shanto <shanto@hotmail.com>
2 # Contributor: onestep_ua <onestep@ukr.net>
3 # Contributor: Madek <gonzaloseguel@gmail.com>
4 # Contributor : Fplolz <fpoloz@gmail.com>
6 _pkgname=gnome-packagekit
7 pkgname=${_pkgname}-git
10 _gitroot="git://git.gnome.org/gnome-packagekit"
11 _gitname="gnome-packagekit"
12 pkgdesc="Gnome tool for PackageKit, with pacman support"
13 arch=('i686' 'x86_64')
14 url="http://packagekit.org/"
16 depends=('packagekit' 'dconf' 'dbus' 'dbus-glib' 'glib2' 'gtk3' 'libcanberra' 'upower' 'fontconfig')
17 # FIXME: depends are not accurate.
19 makedepends=('gtk-doc' 'intltool' 'git')
20 conflicts=('gnome-packagekit')
21 provides=('gnome-packagekit')
22 install=${_pkgname}.install
28 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
33 git clone $_gitroot $_gitname
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
41 ./configure --prefix=/usr --sysconfdir=/etc --disable-gtk-doc --disable-scrollkeeper
46 cd "$srcdir/$_gitname-build"
47 make DESTDIR="$pkgdir/" install