updated on Wed Jan 18 12:20:32 UTC 2012
[aur-mirror.git] / lxpolkit-git / PKGBUILD
bloba47869d0e10f62b25e3e7504bbdf451bc6e7a8f3
1 #Contributor: Graham Rogers <grogers3.14@googlemail.com>
2 pkgname=lxpolkit-git
3 pkgver=20100430
4 pkgrel=1
5 pkgdesc='A simple PolicyKit authentication agent for LXDE'
6 arch=('i686' 'x86_64')
7 url="http://blog.lxde.org/?p=674"
8 license=('GPL')
9 groups=('lxde')
10 provides=('lxpolkit')
11 conflicts=('lxpolkit')
12 depends=('gtk2>=2.12.0' 'polkit')
13 makedepends=('git' 'intltool')
14 source=()
16 _gitroot="git://lxde.git.sourceforge.net/gitroot/lxde/lxpolkit"
17 _gitname="lxpolkit"
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"
28   fi
30   msg "GIT checkout done or server timeout"
31   msg "Starting make..."
33   cd "${srcdir}/${_gitname}"
34   ./autogen.sh
35   ./configure --prefix="/usr" --sysconfdir="/etc"
36   make DESTDIR=${pkgdir} install