1 # Maintainer: Gadget3000 <gadget3000 at msn dot com>
2 # Contributor: Marc Hudson <marxom@gmail.com>
7 pkgdesc="Tribe - Chakra LiveCD Installer"
9 url="http://chakra-project.org/"
11 depends=('qt>=4.4.0' 'kdelibs' 'kdebase-workspace' 'polkit-qt' 'kdeedu-marble' 'arxin' 'rsync' 'parted' 'aqpm' 'e2fsprogs')
12 makedepends=('cmake' 'git')
19 _gitroot="git://gitorious.org/chakra/tribe.git"
24 msg "Connecting to GIT server...."
26 if [[ -d "$_gitname" ]]; then
27 cd "$_gitname" && git pull origin
28 msg "The local files are updated."
30 git clone "$_gitroot" "$_gitname"
33 msg "GIT checkout done or server timeout"
34 msg "Starting build..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
44 cmake . -DCMAKE_INSTALL_PREFIX=/usr
49 cd "$srcdir/$_gitname-build"
50 make DESTDIR="$pkgdir" install