updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / exitx-polkit-git / PKGBUILD
blobcef5062bb4893c9e1848892573eac48df71a4cdd
2 pkgname=exitx-polkit-git
3 pkgver=20110301
4 pkgrel=1
5 pkgdesc="GTK logout dialog for Openbox with PolicyKit support"
6 arch=('i686' 'x86_64')
7 url="http://www.linuxsir.com/bbs/lastpostinthread350740.html"
8 license=('GPL2')
9 depends=('gtk2' 'gettext' 'pm-utils')
11 _gitroot=https://github.com/z0id/exitx-polkit
12 _gitname=exitx-polkit
14 build() {
15         cd "$srcdir"
16         msg "Connecting to GIT server...."
17         
18         if [ -d ${_gitname} ] ; then
19                 cd ${_gitname} && git pull origin
20                 msg "The local files are updated."
21         else
22                 git clone ${_gitroot} ${_gitname}
23         fi
24         
25         msg "GIT checkout done or server timeout"
27         cd $srcdir/$_gitname
28         make
32 package() {
33     install -Dm755 ${srcdir}/${_gitname}/exitx  ${pkgdir}/usr/bin/exitx
34         }