1 # Maintainer: Mariano Street <mstreet@kde.org.ar>
7 pkgdesc='Core library from the Sapphire desktop environment'
9 url="http://gitorious.org/delphos/$_basename"
13 makedepends=('qt' 'git' 'cmake')
14 optdepends=('sapphire-desktop-git: innovative and usability-oriented desktop environment')
19 _gitroot="git://gitorious.org/delphos/$_basename.git"
25 msg 'Connecting to GIT server....'
27 if [ -d $_gitname ]; then
28 cd $_gitname && git pull origin
29 msg 'The local files are updated.'
31 git clone $_gitroot $_gitname
34 msg 'GIT checkout done or server timeout.'
35 msg 'Starting make...'
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
43 cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
49 cd "$srcdir/$_gitname-build/build"
50 make DESTDIR="$pkgdir" install