1 # Maintainer: Daniele Cocca <jmc@chakra-project.org>
7 pkgdesc="A shared library for using Chakra software bundles."
9 url="http://chakra-project.org/"
11 depends=('squashfs-tools' 'unionfs-fuse' 'sh')
12 makedepends=('qt' 'automoc4' 'kde-workspace')
17 _gitroot="git://gitorious.org/chakra/${_pkgname}.git"
18 _gitname="${_pkgname}"
22 msg "Connecting to GIT server...."
24 if [ -d "${_gitname}" ] ; then
25 cd "${_gitname}" && git pull origin
26 msg "The local files are updated."
28 git clone "${_gitroot}" "${_gitname}"
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "${srcdir}/${_gitname}-build"
35 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
36 cd "${srcdir}/${_gitname}-build"
38 cmake -DCMAKE_INSTALL_PREFIX="$(kde4-config --prefix)" -DCMAKE_BUILD_TYPE=RelWithDebInfo
43 cd "${srcdir}/${_gitname}-build"
44 make DESTDIR="${pkgdir}" install
47 # vim:set ts=2 sw=2 et: