1 # Maintainer: Thomas Weißschuh <thomas_weissschuh || lavabit.com>
5 pkgdesc="eventdance, a peer-to-peer inter-process communication library."
7 url="https://gitorious.org/eventdance/eventdance"
9 depends=(json-glib gjs libsoup util-linux)
10 optdepends=('gtkdocise: generating api docs')
14 _gitroot=git://gitorious.org/eventdance/eventdance
19 msg "Connecting to GIT server...."
21 if [[ -d "${_gitname}" ]]; then
22 cd "${_gitname}" && git pull origin
23 msg "The local files are updated."
25 git clone "${_gitroot}" "${_gitname}"
28 msg "GIT checkout done or server timeout"
29 msg "Starting build..."
31 rm -rf "${srcdir}/${_gitname}-build"
32 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
33 cd "${srcdir}/${_gitname}-build"
39 # We got no gjs-gi, compiles fine though
40 sed -i 's/^.*gjs-gi.*$//' m4/javascript.m4
41 ./autogen.sh --enable-js=yes --enable-introspection=yes
42 ./configure --prefix=/usr
47 cd "${srcdir}/${_gitname}-build"
48 make DESTDIR="${pkgdir}/" install
51 # vim:set ts=2 sw=2 et: