1 # Contributor: Ilya Petrov <ilya.muromec@gmail.com>
6 pkgdesc="The lastest Realdesktop Bus library"
7 url="http://rbus.enodev.org"
9 arch=("i686" "x86_64" "arm" "armv7h")
15 __gitroot="https://github.com/realdesktop/"
21 "PREFIX=${pkgdir}/usr" \
29 if [ -d $srcdir/${__gitname} ] ; then
30 msg "Git checkout: Updating existing tree"
31 cd ${__gitname} && git checkout ${_commit}
32 msg "Git checkout: Tree has been updated"
34 msg "Git checkout: Retrieving sources"
35 git clone ${__gitroot}/${__gitname} ${__gitname} && cd ${__gitname} && git checkout ${_commit}
37 msg "Checkout completed"
40 [ -d ${__gitname}-build ] || rm -rf $srcdir/${__gitname}-build
41 git clone $srcdir/${__gitname} $srcdir/${__gitname}-build
42 cd $srcdir/${__gitname}-build
44 msg "Starting build process."
49 cd $srcdir/${__gitname}-build
50 make ${__flags[@]} install
53 # vim: set noet ff=unix