updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / kaveau-git / PKGBUILD
blob70b237b04a336da591ab7a6ed873ab5df56c8491
1 # Maintainer: Jeffery MacEachern <j.maceachern@gmail.com>
3 pkgname=kaveau-git
4 pkgver=20090914
5 pkgrel=1
6 pkgdesc="Easy to use and fully integrated backup solution for KDE"
7 arch=('i686' 'x86_64')
8 url='http://flavio.castelli.name/tag/kaveau'
9 license=('GPL')
10 depends=('kdelibs')
11 makedepends=('cmake' 'git' 'automoc4')
12 source=()
13 md5sums=()
14 conflicts=('kaveau')
15 provides=('kaveau')
17 _gitroot="git://github.com/flavio/kaveau.git"
18 _gitname="kaveau"
20 build() {
21         cd ${srcdir}
22         msg "Connecting to github.com GIT server...."
24         if [ -d ${srcdir}/$_gitname ] ; then
25         cd $_gitname && git pull origin
26         msg "The local files are updated."
27         else
28         git clone $_gitroot
29         fi
31         msg "GIT checkout done or server timeout"
32         msg "Starting make..."
34         git clone $_gitname $_gitname-build
35         cd ${srcdir}/$_gitname-build
36         
37         cmake -DCMAKE_INSTALL_PREFIX=/usr . || return 1
38         make || return 1
39         make DESTDIR=${pkgdir} install || return 1
40