updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / xqde-git / PKGBUILD
blob3dff093ab10bbfdf1dd6b543dfa648968714f496
1 # Contributor: Andrea Scarpino <marco_tangaro@hotmail.com>
3 pkgname=xqde-git
4 pkgver=20101112
5 pkgrel=1
6 pkgdesc="XQDE is the evolution of KXDocker, a new dock for KDE, Gnome, XFCE. It's working with composite extentions."
7 url="http://xqde.xiaprojects.com/"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('qt>=4' 'libxcomposite')
11 makedepends=('git')
12 provides=('kmess')
13 conflicts=()
14 source=()
15 md5sums=()
16 options=()
18 _gitroot="git://xqde.git.sourceforge.net/gitroot/xqde/xqde"
19 _gitname="xqde"
21 build() {
22  cd $srcdir
23   msg "Connecting to GIT server...."
25   if [ -d $srcdir/$_gitname ] ; then
26     cd $_gitname && git pull origin
27     msg "The local files are updated."
28   else
29     git clone $_gitroot
30   fi
32   msg "GIT checkout done or server timeout"
33   msg "Starting make..."
35   rm -rf $srcdir/$_gitname-build
36   cp -r $srcdir/$_gitname $srcdir/$_gitname-build
37   cd $srcdir/$_gitname-build/trunk
39   qmake || return 1
40   make || return 1
41   install -D -m755 libxqdebase $pkgdir/usr/bin/xqde