updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / qtlogout / PKGBUILD
blobb7d970efd2351c08625f2c8432bfb718f567c10f
1 # Contributor: Piotrek Grzeszczak <thepiotrekg@archlinux.us>
2 pkgname=qtlogout
3 pkgver=20110626
4 pkgrel=1
5 pkgdesc="Qt exit app for openbox, compiz, pekwm, etc."
6 arch=('i686' 'x86_64')
7 url="http://thepierre.dyndns.info"
8 license=('GPL3')
9 depends=('qt')
10 makedepends=('git')
11 provides=('qtlogout')
13 _gitroot="git://github.com/piotrek91666/qtLogout.git"
14 _gitname="qtLogout"
16 build() {
17   cd "$srcdir"
19   msg2 "Connecting to GIT server..."
21   if [ -d $_gitname ] ; then
22     ( cd $_gitname && git pull )
23   else
24     git clone $_gitroot $_gitname
25   fi
26   
27   cd "$_gitname"
29   msg2 "Starting make..."
30   qmake "INSTALL_PREFIX=/usr"
31   make
34 package() {
35   cd "$srcdir/$_gitname"
36   msg2 "Packing..."
37   make "INSTALL_ROOT=$pkgdir" install