1 # Maintainer: Diego José <diegoxter1006@gmail.com>
5 pkgdesc="Cross-platform file manager, written on Qt"
7 url="https://gitorious.org/andromeda"
10 makedepends=('git' 'cmake')
13 _gitroot=git://git.gitorious.org/andromeda/andromeda.git
18 msg "Connecting to GIT server...."
20 if [[ -d "$_gitname" ]]; then
21 cd "$_gitname" && git pull origin
22 msg "The local files are updated."
24 git clone "$_gitroot" "$_gitname"
27 msg "GIT checkout done or server timeout"
28 msg "Starting build..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
32 cd "$srcdir/$_gitname-build"
34 cmake -DCMAKE_INSTALL_PREFIX=/usr
40 cd "$srcdir/$_gitname-build"
41 make DESTDIR="$pkgdir/" install
44 # vim:set ts=2 sw=2 et: