1 # Contributor: Borislav Gerassimov <borislav_ba@hotmail.com>
5 pkgdesc="Implementation of the Object Exchange (OBEX) protocol; OBEX is a session protocol and can best be described as a binary HTTP protocol. "
8 url="http://openobex.triq.net/"
9 #depends=('bluez>=4.1')
10 makedepends=('gcc' 'cmake' 'make')
11 conflicts=('openobex')
17 _gitroot="git://git.kernel.org/pub/scm/bluetooth/openobex.git"
21 msg "Connecting to git.freedesktop.org GIT server...."
23 if [ -d ${srcdir}/${_gitname} ] ; then
24 cd ${_gitname} && git-pull origin
25 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 cp -r ${_gitname} ${_gitname}-build
38 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE ..
40 make VERBOSE=1 || return 1
41 make DESTDIR=${startdir}/pkg install || return 1
43 rm -rf ${srcdir}/${_gitname}-build